Running top in batch mode

Jason Edgecombe jason at rampaginggeek.com
Thu Sep 24 12:38:03 UTC 2009


Hmmm,

you're right. that sounds like a feature request for future versions of sar.

Jason

nitin.gizare at wipro.com wrote:
> 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
>
> --
> 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