ps problem with new kernels

Dave Rynne (DAVE.RYNNE@ucg.ie)
Wed, 24 Apr 1996 12:51:46 +0100 (WET DST)


I don't know if anybody else is having this problem but here is
something I noticed last night not long after booting 1.3.94. Everything
appeared to be working fine until I started up X (under my normal user
account rather than as root). Then doing a ps -auxwww as root gave the
following:

root@Zoso:~# ps -auxwww
USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
dave 62 0.0 7.0 1132 488 ? S 23:12 0:00 -sh
root 1 0.0 1.2 780 88 ? S 23:12 0:01 init
root 2 0.0 0.0 0 0 ? SW 23:12 0:00 (kflushd)
root 3 0.0 0.0 0 0 ? SW< 23:12 0:00 (kswapd)
root 8 0.0 0.8 764 60 ? S 23:12 0:00 /sbin/kerneld
root 11 0.0 0.4 840 32 ? S 23:12 0:00 update (bdflush)
root 38 0.0 2.5 872 176 ? S 23:12 0:00 /usr/sbin/crond -l8
root 50 0.0 1.9 880 136 ? S 23:12 0:00 /usr/sbin/syslogd
root 52 0.0 1.3 860 92 ? S 23:12 0:00 /usr/sbin/klogd
root 54 0.0 0.0 880 0 ? SW 23:12 0:00 (inetd)
root 56 0.0 0.0 1088 0 ? SW 23:12 0:00 (httpd)
root 60 0.0 2.7 1072 188 ? S 23:12 0:00 sendmail: accepting connections
root 63 0.0 0.0 120 0 ? SW 23:12 0:00 (agetty)
root 64 0.0 0.0 120 0 ? SW 23:12 0:00 (agetty)
root 65 0.0 0.0 120 0 ? SW 23:12 0:00 (agetty)
root 66 0.0 0.0 120 0 ? SW 23:12 0:00 (agetty)
root 134 0.0 7.2 1132 500 ? S 23:17 0:00 -sh
root 196 0.0 4.9 812 340 ? R 01:36 0:00 ps -auxwww

(note the TTYs)

and ``w'' returned this:

root@Zoso:~# w
1:36am up 2:24, 2 users, load average: 0.03, 0.08, 0.03
User tty login@ idle JCPU PCPU what
dave tty1 11:13pm -
root tty6 11:18pm -

Note: I was not su'd or anything like that on tty1 (just logged in as
normal).

This only appeared as soon as I started up X (from non superuser account)
and remained after X was shutdown again. Using the same commands under a
normal user account reports everything as it should be.

i.e.

dave@Zoso:~$ w
1:37am up 2:25 2 users, load average: 0.03, 0.08, 0.03
User tty login@ idle JCPU PCPU what
dave tty1 11:13pm w
root tty6 11:18pm -sh

I didn't notice this under 1.3.91 or previous and I didn't get a chance to
build 1.3.92 and 1.3.93 so I can't comment on those. Also, the kernel built
cleanly so I'm ruling out problems with the make and I'm using the latest
versions of what the kernel docs tell me I should be using (or at least
they were the latest versions two days ago).

I cold booted the machine later and checked again to see if this was still
happening and it was. What's really confusing me is that it only appears to
be screwed up for root - I thought that root should have no trouble reading
process information and not as it is above.

Any ideas?

Dave

--
Dave Rynne				email:	darynne@nox.nyx.net
University College,				dave@galway-guide.com
Galway,						Dave.Rynne@ucg.ie
Ireland.				www:	http://www.nyx.net/~darynne/