mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01:00
Added cheatsheet for the top command
This commit is contained in:
parent
0cc76a78a1
commit
75137cf507
1 changed files with 26 additions and 0 deletions
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 a new issue