Running top in batch mode

nitin.gizare at wipro.com nitin.gizare at wipro.com
Thu Sep 24 04:50:57 UTC 2009


HI

But using sar we can not get info about system process and memory used
by them

Nitin

-----Original Message-----
From: redhat-sysadmin-list-bounces at redhat.com
[mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Jason
Edgecombe
Sent: Thursday, September 24, 2009 6:29 AM
To: redhat-sysadmin-list at redhat.com
Subject: Re: Running top in batch mode

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

--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list




More information about the redhat-sysadmin-list mailing list