Top: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
=Overview=
=Overview=


=Batch Mode=
=Linux=
 
==Batch Mode==


Run "top" in batch mode, just one iteration:
Run "top" in batch mode, just one iteration:
Line 12: Line 14:
<pre>
<pre>
top -b -n 1
top -b -n 1
</pre>
=Mac=
==Batch Mode==
Specify one sample:
<pre>
top -l 1
</pre>
</pre>

Revision as of 04:01, 4 August 2016

Internal

Overview

Linux

Batch Mode

Run "top" in batch mode, just one iteration:

top -b -n 1

Mac

Batch Mode

Specify one sample:

top -l 1