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

Re: kill someone logged on



On 9/7/05, debian <debian@benburb.demon.co.uk> wrote:
> On Wed, Sep 07, 2005 at 02:31:33PM -0400, Darryl Clarke wrote:
> 
> > Omit the *
> > or
> > ps aux | grep pts/2
> 
> ##########################################################
> debian@solaris:~$ ps -aux | grep pts/2
> Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
> debian   21085  0.0  0.1  1536  468 pts/0    S+   19:26   0:00 grep pts/2
> debian@solaris:~$
> ##########################################################
> 
> I just cannot get ps to show up  the 'pts' bits.

Maybe it is dead. 

Try 
ps aux | grep bash

that should show you all the shells, and you can match (and kill) the
pid of the bash attached to pts/2 if it shows up.



-- 
~ Darryl  ~ smartssa@gmail.com
http://smartssa.com / http://darrylclarke.com



Reply to: