Running top in batch mode

Jason Edgecombe jason at rampaginggeek.com
Thu Sep 24 00:58:35 UTC 2009


nitin.gizare at wipro.com wrote:
> Can some body help with script which can take top out put snapshot every
> 5 min with memory usage in sorted mode.( say top is highest and bottom
> lowest).
>   

It sounds like you want something like sar. See 
http://linux.die.net/man/1/sar
or install the sysstat rpm and run "man sar"

Jason




More information about the redhat-sysadmin-list mailing list