[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: users still logged in



* nate (debian-user@aphroland.org) [021108 20:09]:
> Matthew Daubenspeck said:
> > After having a mess of connection problems that caused my ssh sessions to
> > drop, I noticed that the 'w' command still thinks there are users logged
> > in that I know are not.

> check the process table to see if shells for those ttys are still
> open.

> then kill the process ids. I have found when killing dead sessions
> only kill -9 to the shell seems to work(at least with bash).

really? kill -HUP generally works for me.  It's good to try that first,
before going all the way to -9, anyway.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
http://www.anti-dmca.org/	

Attachment: pgpB1QBz2isGk.pgp
Description: PGP signature


Reply to: