Linux TOP Interactive Commands

Source: Internet
Author: User
Tags cpu usage

Today summarizes some of the top command's interactive commands, more practical!


H or? Display the help screen and give some brief summary of the commands
K Terminates a process. The user will be prompted for the process PID to be terminated and what signal needs to be sent to the process. The normal termination process can use a 15 signal, and if not, use signal 9 to force end the process. The default value is signal 15. This command is masked in safe mode.
I Ignore idle and zombie processes. This is a switch-on command.
Q Exit program
R Reschedule the priority level of a process. The user is prompted to enter the process PID that needs to be changed and the process priority value that needs to be set. Entering a positive value lowers the priority and, conversely, it gives the process a higher priority. The default value is 10
S Switch to cumulative mode.
S Change the delay time between two refreshes. The user will be prompted to enter a new time in S. If there are decimals, it is converted into M S. Enter a value of 0 and the system will refresh continuously, the default value is 5 S. It is important to note that if you set too small a time, it is likely to cause a constant refresh, so it is too late to see the display, and the system load will be greatly increased.
F or F Add or remove items from the current display.
O or O Change the order in which items are displayed.
I L Toggle Display Average load and start time information.
M Toggles display memory information.
T Toggles the display of process and CPU status information.
C Toggles the display of the command name and the full command line.
M Sorts based on the size of the resident memory.
P Sort based on CPU usage percent size
T Sort by Time/cumulative time
W Writes the current settings to the ~/.TOPRC file. This is the recommended way to write top configuration files
U Specify that only one user's process is displayed

Linux TOP Interactive Commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.