very good. nice suggestion.  but I needed to do:

watch -n 10 -d 'ps aux --sort -%cpu | cut -c1- | head -20'

Richard




From:       Scott Rohling <[email protected]>
To:         [email protected]
Date:       21/07/2011 17:43
Subject:    Poor man's top
Sent by:    Linux on 390 Port <[email protected]>



I found this buried in some notes..   thought others might enjoy it.   Much
less overhead then top.. :

watch -n 10 -d 'ps aux --sort -%cpu | cut -c1-0 | head -20'

Scott Rohling

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to