Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Batch mode : top command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Batch mode : top command



Folks,
I don't see an option to invoke the top command in batch mode.I need to be able to redirect the output from top onto a file from a script.
On Linux/Solaris I can do it as below :
top -b -n 1 > /tmp/out


Is there something similar which I can work out on Mac OS X.

Thx.

--
Disclaimer : The statements and opinions expressed here are my own and do not necessarily represent those of Oracle Corporation.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.