> Tough question- you can always write to a tty. (i.e. run 'tty' from one
> terminal to get the tty, then do echo 'blah' > /dev/<ttyname>) but that
> doesn't emulate typing 'blah' on the tty, it just displays it. If you let
> me know what you are trying to do, I might be of more use. I am guessing

well, I am running some CPU intensive job on my department machine.
however, the admin. is not too happy about it because some other people
complained, which I can understand.  so here is what I want to do..

ssh to the remote machine.
starts the process.
use another ssh session to that machine to monitor if anyone is at the
console.
if so, send a Ctrl+c signal to the first terminal that starts the job,
which will kill the job..
monitor the machine until no one is at the console, then send the command
that starts the job to the first terminal..

I want to emulate the DQS system that they have at UTCS machine..without
any root access to set up something like DQS type of stuff on the remote
machine, this is the best I can think of...any suggestion?

-- 
   ~             Experience the power of the Penguin
  'v'        _/     _/_/_/  _/    _/  _/    _/ _/   _/
 // \      _/       _/    _/_/  _/  _/    _/   _/_/
/(   )\    _/       _/    _/  _/_/  _/    _/    _/_/
 ^`~'^    _/_/_/ _/_/_/  _/    _/  _/_/_/_/   _/   _/

---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to