mirror of
https://github.com/cheat/cheat.git
synced 2024-11-25 23:41:36 +01:00
Added cheatsheet for the top command
This commit is contained in:
parent
0cc76a78a1
commit
75137cf507
26
cheatsheets/top
Normal file
26
cheatsheets/top
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Update every <interval> samples:
|
||||||
|
top -i <interval>
|
||||||
|
|
||||||
|
# Set the delay between updates to <delay> seconds:
|
||||||
|
top -s <delay>
|
||||||
|
|
||||||
|
# Set event counting to accumulative mode:
|
||||||
|
top -a
|
||||||
|
|
||||||
|
# Set event counting to delta mode:
|
||||||
|
top -d
|
||||||
|
|
||||||
|
# Set event counting to absolute mode:
|
||||||
|
top -e
|
||||||
|
|
||||||
|
# Do not calculate statistics on shared libraries, also known as frameworks:
|
||||||
|
top -F
|
||||||
|
|
||||||
|
# Calculate statistics on shared libraries, also known as frameworks (default):
|
||||||
|
top -f
|
||||||
|
|
||||||
|
# Print command line usage information and exit:
|
||||||
|
top -h
|
||||||
|
|
||||||
|
# Order the display by sorting on <key> in descending order
|
||||||
|
top -o <key>
|
Loading…
Reference in New Issue
Block a user