[7071] in Athena Bugs
vax 7.2P: top
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Fri Feb 8 16:39:46 1991
From: vanharen@ATHENA.MIT.EDU
Date: Fri, 8 Feb 91 16:39:36 -0500
To: bugs@ATHENA.MIT.EDU
System name: fries
Type and version: CVAXSTAR 7.2P
Display type: SM
What were you trying to do?
Monitor processes using "top".
What's wrong:
"top" lies about process names. Here is part of the output:
==============================================================================
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
6183 vanharen 1 4 5597K 515K sleep 147:31 17.17% 17.14% /usr/bin/X/ema
274 root 1 0 3115K 1037K sleep 243:06 12.79% 12.77% - -v :0 -fp /e
28548 vanharen 25 0 134K 96K run 0:02 2.58% 2.56% (top)
6181 root 1 0 1131K 418K sleep 6:22 0.68% 0.68% /etc/xterm -ge
28540 vanharen 1 0 441K 297K sleep 0:03 0.16% 0.16% login -r booju
186 root 15 0 47K 13K sleep 3:16 0.15% 0.15% /etc/cron
6180 vanharen 1 0 448K 43K sleep 2:10 0.07% 0.07% /usr/bin/X/xlo
==============================================================================
Now, here are a few lines from "ps":
% ps aux | grep 28540
vanharen 28555 2.0 0.2 24 6 p1 S 0:00 grep -n 28540
vanharen 28540 0.1 6.1 441 387 p3 S 0:03 dash
% ps aux | grep login
root 274 5.4 19.2 3115 1214 co S 243:13 - -v :0 -fp /etc/athena/login/
vanharen 28558 1.0 0.3 24 11 p1 S 0:00 grep -n login
root 273 0.0 0.2 17 3 co I 0:01 - /etc/athena/login/config tty
vanharen 276 0.0 0.0 38 18 v0 IW 0:21 sh /etc/athena/login/Xsession
==============================================================================
See, no "login -r boojum" exists, according to "ps". And,
process number 28540 is "dash", not "login"...
What should have happened:
It should tell me the real names of the processes, please.
Please describe any relevant documentation references:
man top (I guess...? :-)