Re: can't KILL tty

2002-02-03 Thread ben
On Sunday 03 February 2002 06:24 pm, Tony Green wrote:
> On Mon, 2002-02-04 at 13:19, ben wrote:
> > On Sunday 03 February 2002 05:27 pm, Lance Hoffmeyer wrote:
> > > Any suggestions on how to kill a tty that is frozen without
> > > rebooting?  I have tried
> > >
> > > slay lance
> > > skill tty2
> > > skill KILL tty2
> > > skill NOHUP tty2
> > > skill HUP tty2
> > >
> > > lance
> >
> > kill -9 
>
> Useless without the pid - which judging by the examples - the OP didn't
> have.
>
> Try fuser -9 -k /dev/tty2, that will kill all processes using tty2
>

you're right. i should have said 



Re: can't KILL tty

2002-02-03 Thread Tony Green
On Mon, 2002-02-04 at 13:19, ben wrote:
> On Sunday 03 February 2002 05:27 pm, Lance Hoffmeyer wrote:
> > Any suggestions on how to kill a tty that is frozen without
> > rebooting?  I have tried
> >
> > slay lance
> > skill tty2
> > skill KILL tty2
> > skill NOHUP tty2
> > skill HUP tty2
> >
> > lance
> 
> kill -9 
> 

Useless without the pid - which judging by the examples - the OP didn't
have.

Try fuser -9 -k /dev/tty2, that will kill all processes using tty2

HTH

Greeno
-- 
Tony Green <[EMAIL PROTECTED]>
Tel   :   +61-(0)2-9500-9996
Mobile:   +61-(0)4-2521-9996
GnuPG Key :  1024D/B5657C8B
Key fingerprint = 9ED8 59CC C161 B857 462E  51E6 7DFB 465B B565 7C8B



Re: can't KILL tty

2002-02-03 Thread ben
On Sunday 03 February 2002 05:27 pm, Lance Hoffmeyer wrote:
> Any suggestions on how to kill a tty that is frozen without
> rebooting?  I have tried
>
> slay lance
> skill tty2
> skill KILL tty2
> skill NOHUP tty2
> skill HUP tty2
>
> lance

kill -9 



Re: can't KILL tty

2002-02-03 Thread Osamu Aoki
On Sun, Feb 03, 2002 at 07:27:21PM -0600, Lance Hoffmeyer wrote:
> Any suggestions on how to kill a tty that is frozen without
> rebooting?  I have tried 
> 
> slay lance
> skill tty2
> skill KILL tty2
> skill NOHUP tty2
> skill HUP tty2

How about raw command
# su
# ps aux| grep tty2
... see process number
# kill x 

Here, x is the process number.

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://qref.sourceforge.net/quick/  +



can't KILL tty

2002-02-03 Thread Lance Hoffmeyer
Any suggestions on how to kill a tty that is frozen without
rebooting?  I have tried 

slay lance
skill tty2
skill KILL tty2
skill NOHUP tty2
skill HUP tty2

lance
-- 

Lance Hoffmeyer
  [EMAIL PROTECTED]

---
 I see you, and you see me.  I experience you,and you experience me.  I see you
behavior.  You see my behavior.  But I do not and never have and never will see
  your experience of me.  Just as you cannot "see" my expereience of you.  My
 experience of you is not "inside" me.  It is simply you, as I experience you.
  And I do not experience you as inside me.  Similarily, I take it that you do
not experience me as inside you.
   -
   R.D. Laing