[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
who command shows more users than actual exists
From: |
David Young |
Subject: |
who command shows more users than actual exists |
Date: |
Tue, 19 Oct 2004 12:21:47 -0700 |
the who command is displaying the wrong number of users on the machine.
Below is a comparsion of the w command and the who command. As you can see,
there are twice the number of users with overlapping pts entries with the
who command.
#w
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/1 m1.local.host 12:14pm 3:12 0.02s 0.00s tail -f /var/log/maillog
root pts/2 m1.local.host 12:15pm 1:47 0.01s 0.01s -bash
root pts/3 m1.local.host 12:16pm 40.00s 0.01s 0.01s man who
root pts/4 m1.local.host Mon11am 0.00s 0.26s 0.01s w
root pts/5 m1.local.host Mon11am 17:58 0.06s 0.03s cd
root pts/8 m1.local.host Mon 1pm 3:42 0.01s 0.01s -bash
#who
root pts/1 Oct 13 11:21 (:1.0)
root pts/2 Oct 13 11:21 (:1.0)
root pts/3 Oct 13 11:21 (:1.0)
root pts/1 Oct 19 12:14 (m1.local.host)
root pts/2 Oct 19 12:15 (m1.local.host)
root pts/3 Oct 19 12:16 (m1.local.host)
root pts/4 Oct 18 11:02 (m1.local.host)
root pts/5 Oct 18 11:02 (m1.local.host)
root pts/6 Oct 18 12:08 (m1.local.host)
root pts/8 Oct 18 13:53 (m1.local.host)
root pts/11 Oct 16 23:39 (:0.0)
root pts/10 Oct 18 20:17 (10.10.10.111)
There's twice the number of users than actually exists. My configuration:
Red Hat Linux release 9 (Shrike)
kernel-2.4.20-31.9-smp
gcc-3.2.2-5
Intel P4 533MHZ HT 2.6GHz
1GB RAM
- who command shows more users than actual exists,
David Young <=