Chris wrote:

On Wednesday 23 July 2003 11:14 am, Tom Brinkman wrote:



Using bash, simply type 'w' (w/o the quotes) EG,

[tom /tom] $ w
11:13:22 up 17:07, 5 users, load average: 0.16, 0.22, 0.22
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
tom pts/0 Tue18 17:01m 0.00s 0.22s kdeinit: kwrited
tom pts/1 09:24 1:42m 0.08s 0.05s /bin/bash
tom :0 Tue18 ?xdm? 1:00m 0.13s /bin/sh
/usr/bin/startkde
tom pts/3 09:43 11:05 2.17s 2.01s cdrecord -v -eject
speed=4 dev=0,0
tom pts/4 11:13 0.00s 0.04s 0.01s w



Very interesting Tom. Question though, if I run $ w I get:


5:32pm  up 31 days, 23:47,  6 users,  load average: 0.03, 0.02, 0.00
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
chris    pts/0    -                 5Jul03 17days  0.00s   ?     -
chris    pts/2    -                 5:32pm  0.00s  0.05s  0.01s  w

Only two entries for me are shown, however, 6 users are reported as with $ who:
[EMAIL PROTECTED] chris]$ who
chris pts/0 Jul 5 18:45
chris pts/1 Jul 16 19:42
chris pts/3 Jul 19 16:16
chris pts/2 Jul 23 17:32
chris :0 Jul 5 18:44
chris pts/4 Jul 12 15:44


Whats the difference? I notice you uptime shows 5 users and 5 are reported with 'w'.

Chris


w doesn't show me any users.


[EMAIL PROTECTED] brant]$ w
15:12:12 up 1 day,  2:34,  1 user,  load average: 0.28, 0.25, 0.19
USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT

[EMAIL PROTECTED] brant]$ who
brant    :0           Jul 22 12:39

--
Brant Fitzsimmons
[EMAIL PROTECTED]
************************************************************************
"Liberty means responsibility. That is why most men dread it."

                -George Bernard Shaw, Man and Superman (1903)
                "Maxims for Revolutionists"
************************************************************************



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to