cancel
Showing results for 
Search instead for 
Did you mean: 

No process list for top

Mark S_3
Occasional Advisor

No process list for top

I changed permissions on the top command to 4755 so non-root users can run it but there are no processes listed only the load average, process counts, and memory stats. It runs fine from root. This is on Tru64v5.1B-3 with top 3.5beta5-4.
3 REPLIES
Steven Schweda
Honored Contributor

Re: No process list for top

Who owns your "top" executable ("ls -l") ?
Mark S_3
Occasional Advisor

Re: No process list for top

root of course :-)
bbrother@avocet >ls -l /usr/local/bin/top
-rwsr-xr-x 1 root system 415648 Aug 11 11:54 /usr/local/bin/top
Steven Schweda
Honored Contributor

Re: No process list for top

It (well, something) seems to work around here:

urtx> sizer -v
Compaq Tru64 UNIX V5.1B (Rev. 2650); Sat Jan 28 11:47:04 CST 2006

urtx> ls -l /usr/local/bin/top
-rws--x--x 1 root system 466768 Mar 2 21:06 /usr/local/bin/top

urtx> /usr/local/bin/top -v
top: version 3.5.1

For example:

PID USERNAME PRI NICE SIZE RES STATE TIME CPU COMMAND
1098 sms 44 0 9456K 6144K run 0:00 0.60% top
1011 root 44 0 17M 7356K sleep 0:01 0.00% smsd
1007 root 44 0 9216K 1990K sleep 0:01 0.00% Xdec
777 root 44 0 8616K 4276K sleep 0:00 0.00% insightd
[...]

Perhaps someone fixed it between my version
and yours (where the meaning of "fixed" is
open to interpretation).