Created
October 7, 2013 13:32
-
-
Save gangaaloori/6868083 to your computer and use it in GitHub Desktop.
Top command examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To sort the output of top command, press shift+o(uppercase O) and then press the field letter. For example press n to sort the output based on memory utilization % | |
# To highlight running process in Top output, press 'z' | |
# To show absolute path of processes, press 'c' | |
# Kill running process with argument 'k' | |
# Press (Shift+W) to save the running top command results under /root/.toprc. | |
# Use top command with 'u' option will display specific User process details. | |
top -u cordysBop | |
# Display Only Specific Process with Given PIDs Using top -p | |
top -p 1309, 1882 | |
# Display All CPUs / Cores in the Top Output – Press 1 (one) when top command is running | |
# Save Top Configuration Settings – Press W | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment