top (unix command) with two samples in logging mode - but only the second matters

i wanted to use the unix top command with GeekTools and found that this wasn’t as straight forward as i had expected…

anyways, the following bundle does the trick:

top -o cpu -l 2 -u -S | sed -e ‘2,/^Processes:/ d’


Comments:

alernatively one can use ps auexwwc

jss -

alernatively one can use ps auexwwc

Next
Previous

Related