[CentOS] w command about user

John Doe jdmls at yahoo.com
Fri Mar 20 13:17:32 UTC 2009


From: chloe K <chloekcy2000 at yahoo.ca>
> I use w command to get user is "2 users" but I only have connection one
> ls any process dead? But I check other centos machine is same
> How can I check it?
> [root at host ~]# w
>  7:22:26 up 20 days, 23:20,  2 users,  load average: 0.00, 0.00, 0.00
> USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
> chloe   pts/0    dsl-203-18-20-82. 7:22    0.00s  0.09s  0.09s sshd: chloe [priv]

Maybe try: ps au | grep " bash"

JD


      



More information about the CentOS mailing list