The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-27-2009
drl's Avatar
drl drl is offline Forum Advisor  
Registered User
  
 

Join Date: Apr 2007
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 713
Hi.

The Linux version of top can be set to iterate once in a batch mode with:

Code:
top -n1 -b

perhaps a look at your local man page will help (if top is the problem) ... cheers, drl

Last edited by drl; 05-27-2009 at 11:22 AM.. Reason: Typo