THANK YOU to all the responses.
I did not think about the BSD style ps command in /usr/ucb/ps
about 50 replies suggested I use some variation of:
/usr/ucb/ps -auxgwwwr | head -15
Or some variation with fewer w's, missing some of the other options (the
aux is needed), using more in stead of head, and it seems the "-" before
the aux bit is optional.
The other very useful option is:
ps -efo pcpu,pid,args | sort -nr | head
Quite a few variations on this one as well.
Some people asked why not isntall top? The answer: This is on a strictly
Change Controll Managed Produciton system and I can not take chances with
my 99.999% uptime.
It seems solaris8 has got a built in tool, namely sdtprocess, and sun has
got an optional extra tool named prstat.
---------------------- Forwarded by Johannes J Hartzenberg/GIS/CSC on
08/11/2000 05:44 PM ---------------------------
08/11/2000 04:09 PM
Sent by: Johannes J Hartzenberg/GIS/CSC
Subject: Identify high cpu process w/o "top"
How can I find out what process(es) are hogging my cpu without having "top"
U BEFORE POSTING please READ the FAQ located at
. and the list POLICY statement located at
A To submit questions/summaries to this list send your email message to:
A To unsubscribe from this list please send an email message to:
E and in the BODY type:
R unsubscribe sun-managers
. unsubscribe sun-managers firstname.lastname@example.org
L To view an archive of this list please visit:
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:21 CDT