problems with w command
The w command on a few of our servers is not working properly. I'll use
two machines, verdi and frisch, to explain this although it is not
isolated to these machines. Both machines have kernel 2.0.29 and procps
1.12.2 and the kernel configuration is pretty much identical (except for a
coupld of things like differing ethernet cards). On verdi, w yields:
verdi:~$ w
2:19pm up 17 days, 39 min, 6 users, load average: 0.00, 0.00, 0.00
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
russell tty1 1:41pm 24518:27 111:26 0:00 xinit /home/russell/.xinitrc -- -auth /ho
russell ttyp0 4:45pm 84:39 0:00 0:00 bash
russell ttyp1 1:45pm 126:27 0:01 0:01 bash
russell ttyp2 2:30pm 91:39 0:02 0:00 bash
russell ttyp3 10:52pm 924:11 0:00 0:00 rlogin russell
telmerco ttyp4 2:19pm 0:00 0:00 0:00 w
But on frisch, w yields:
2:21pm up 24 days, 1:09h, 5 users, load average: 0.00, 0.00, 0.00
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
kutsoati ttyp0 2:08pm 4:23 0:00 ? -
polasek ttyp1 1:24pm 93:54 0:00 ? -
telmerco ttyp2 2:15pm 0:00 0:00 ? -
kutsoati ttyp3 2:20pm 0:32 0:00 ? -
maheuj ttyp4 11:10am 190:25 0:00 ? -
PCPU and WHAT are screwed up. I was going to try to fiddle with psupdate
but I thought I would ask here first. Also, the person who brought this to
my attention has noticed some other details:
From: "James G. MacKinnon" <jgm@qed.econ.queensu.ca>
To: Colin Telmer <telmerco@qed.econ.queensu.ca>
Subject: still more on w problem
I forgot to mention that w always produces correct output for sessions
associated with a tty, but not for ones associated with a ttyp. Of course,
on verdi, edith, emma, lovell, and waugh, it produces correct output for
all sessions. It is only on jgm and frisch that it does not. Very strange!
Any ideas?
Any help is gratefully appreciated. Cheers, Colin.
--
Colin Telmer, Institute of Intergovernmental Relations
School of Policy Studies Building, Room 309, Queen's University
Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219
<mailto:telmerco@qed.econ.queensu.ca>
<http://terrapin.econ.queensu.ca>
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: