Mailinglist Archive: opensuse (2441 mails)

< Previous Next >
Re: [SLE] who vs w output [SOLVED]
  • From: Scott Leighton <helphand@xxxxxxxxxxx>
  • Date: Sun, 19 Jun 2005 10:20:34 -0700
  • Message-id: <200506191020.34991.helphand@xxxxxxxxxxx>
On Sunday 19 June 2005 10:01 am, Patrick Shanahan wrote:
>
> ps aux | grep pts\/[6,7]
>

helphand@helphand:~> ps aux | grep pts\/[6,7]
helphand@helphand:~>

Nope, nothing.

Anders made the following comment...

>'who' just reads from the utmp or wtmp databases. If they didn't log out
>'properly' this database will be out of sync and 'who' will still show the
>user as logged in.

So, basically that explains the strange who results.
I'll mark it up as 'mystery solved'.

Scott


--
POPFile, the OpenSource EMail Classifier
http://popfile.sourceforge.net/
Linux 2.6.11.4-21.7-default x86_64

< Previous Next >