Running top in batch mode

nitin.gizare at wipro.com nitin.gizare at wipro.com
Wed Sep 23 03:05:01 UTC 2009


HI

 

Thanks for reply,

 

I want to capture initial header part in which we have info process ,
total memory usages etc ...

Then process and memory usage usage of process , it can be only first
100 process.

 

 

I tried running top -b -n 1 command but which does not show initial
header information.

 

Please help me in this regards.

 

Rgds

Nitin

 

 

 

________________________________

From: redhat-sysadmin-list-bounces at redhat.com
[mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Anthony
Doyle
Sent: Wednesday, September 23, 2009 8:28 AM
To: redhat-sysadmin-list at redhat.com
Subject: RE: Running top in batch mode

 

Hi Nitin ,

 

Maybe if you tell us what your trying to achieve,, someone on the list
can help you, what data are you trying to capture from top as the
requirement ? 

 

Cheers

Anthony

 

From: redhat-sysadmin-list-bounces at redhat.com
[mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of
nitin.gizare at wipro.com
Sent: Wednesday, 23 September 2009 12:48 PM
To: redhat-sysadmin-list at redhat.com
Subject: Running top in batch mode

 

 

 

Hello All

 

I have requirement of running top command in batch mode.

I have gone through some link and -b option can be used with same.

But this is not printing all options. Can some body help with good
script

 

Thanks and Rgds

Nitin

 

________________________________

National Australia Bank Ltd - ABN 12 004 044 937
This email may contain confidential information. If you are not the
intended recipient, please immediately notify us at
postmaster at nab.com.au or by replying to the sender, and then destroy all
copies of this email. Except where this email indicates otherwise, views
expressed in this email are those of the sender and not of National
Australia Bank Ltd. Advice in this email does not take account of your
objectives, financial situation, or needs. It is important for you to
consider these matters and, if the e-mail refers to a product(s), you
should read the relevant Product Disclosure Statement(s)/other
disclosure document(s) before making any decisions. If you do not want
email marketing from us in future, forward this email with "unsubscribe"
in the subject line to Unsubscriptions at nab.com.au in order to stop
marketing emails from this sender. National Australia Bank Ltd does not
represent that this email is free of errors, viruses or interference.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20090923/817e46b8/attachment.htm>


More information about the redhat-sysadmin-list mailing list