Top: Difference between revisions
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> |