[Novalug] Non-interactive top?

Matthew Thompson matthew.thompson at nrl.navy.mil
Thu Feb 28 13:26:29 EST 2008


The heavens stretched forth and DonJr decreed the following on or about 
02/28/2008 12:57 PM:
> Then what about the simple:
>  ps -eo pid,%cpu,comm --sort %cpu | tail
> 
> or
>  ps -eo pid,%cpu,comm --sort -%cpu | head

OK, it's time for Matt to print off the ps manpage and really read it. 
I guess I never knew ps could do so much.

Matt
-- 
Matt Thompson, PhD
Naval Research Laboratory
202-767-2160



More information about the Novalug mailing list