mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 10:45:05 +01:00
Merge pull request #106 from engstrom/master
Added cheatsheet for the top command
This commit is contained in:
commit
4bc2a27b57
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