View the Top commands of Ubuntu system resources

Source: Internet
Author: User
Linux is so powerful. Run the $: toptop command to view the memory, cpu, and process occupied by Ubuntu resources. The top: Main Parameter d: Specifies the update interval, which is calculated in seconds. Q: there are no delayed updates. If a Super User exists, the top command is executed in the highest priority order. C: displays the complete process path and name. S: The accumulation mode, which accumulates the CPU time of the completed or disappearing sub-itinerary. S: security mode. I: no idle

Linux is so powerful. The command used to view Ubuntu resources is $: top

The top command allows you to view the memory, cpu, and process, which is very convenient.

Top:

Main Parameters

D: Specify the update interval, in seconds.

Q: there are no delayed updates. If a Super User exists, the top command is executed in the highest priority order.

C: displays the complete process path and name.

S: The accumulation mode, which accumulates the CPU time of the completed or disappearing sub-itinerary.

S: security mode.

I: no Idle (Idle) or useless (Zombie) itinerary is displayed.

N: displays the number of updates. After the update is completed, it will exit

Display parameters:

PID (Process ID): Process ID.

USER: the USER name of the process owner.

PR: process priority.

NI: the priority value of the process.

VIRT: Virtual Memory occupied by the process.

RES: The physical memory occupied by the process.

SHR: the shared memory value used by the process.

S: Process status. S indicates sleep, R indicates running, Z indicates frozen, and N indicates that the priority of the process is negative.

% CPU: CPU usage occupied by the process.

% MEM: Percentage of physical memory and total memory occupied by the process.

TIME +: The total cpu time occupied by the process after it is started.

Command: the name of the startup Command that the process starts. If this line does not appear, the process has a complete Command line.

Top Command

Space: refresh immediately.

P: sort by CPU usage.

T: sort by time and accumulated time.

Q: exit the top command.

M: Switch to Display memory information.

T: process and CPU status information is displayed during switchover.

C: Switch the display command name and the complete command line.

M: sort by memory size.

W: Write the current settings ~ /. Toprc file. This is a recommended method for writing top configuration files.

Recommended reading:

Linux traffic monitoring tool-iftop http://www.linuxidc.com/Linux/2013-08/89102.htm

Linux top Command detail http://www.linuxidc.com/Linux/2013-06/85626.htm

Linux top Command http://www.linuxidc.com/Linux/2013-04/83151.htm

Efficient use of top Command http://www.linuxidc.com/Linux/2013-04/82676.htm in Linux

Linux system top Command detailed explanation http://www.linuxidc.com/Linux/2012-12/76750.htm

Linux System Monitoring load top Command details http://www.linuxidc.com/Linux/2012-10/72756.htm

 

Continue to read the highlights of this article, please see page 2nd: http://www.linuxidc.com/Linux/2013-09/90334p2.htm

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.