Detailed analysis of Linux top commands

Source: Internet
Author: User

Detailed analysis of Linux top commands

The top command is a common performance analysis tool in Linux. It can display the resource usage of various processes in the system in real time (it is a dynamic process)

A tZ role? Http://www.bkjia.com/kf/ware/vc/ "target =" _ blank "class =" keylink "> keyboard + io6zSssrHdXB0aW1lw/paper" here write picture description "src =" http://www.bkjia.com/uploads/allimg/150725/040G62T1-1.png "title =" \ "/>

11:48:46 is the current time

Up 31 days, 46 minutes indicates the time when the server (system) runs. if the system is restarted, the time is recalculated.
2. Number of users currently logged on
Load average: average load of 0.00, 0.01, and 0.05 systems. The three values indicate the average load in the past 1 minute, 5 minutes, and 15 minutes, respectively (expressed as a percentage, for example, 0.05 is 5%). The lower the load, the better the system performance.

The second line is the process information:

Tasks: 100 total indicates the total number of processes.
1. Number of running Processes of running
95 sleeping sleep Processes
4 Number of stoped stopped Processes
0 zombie botnets

The third line is the CPU information:

1.3 us CPU usage (1.3%)
1.0 sy CPU usage in kernel space (1.3%)
0.0 CPU usage of processes whose priorities have been changed in ni user process space
97.7 id idle CPU percentage (97.7%)
0.0 wa CPU time percentage waiting for Input and Output
0.0 hi
0.0 si
0.0 st

The fourth line is the physical memory information:

1017896 total physical memory (in K)
771204 used total physical memory used
246692 free memory total
125236 buffers memory used as kernel Cache

The fifth line is the exchange zone information:

2097148 total exchange zone total
45692 used swap zone total
2051456 free swap zone total
409624 the total number of swap areas of the cached Mem buffer. The content in the memory is swapped out to the swap zone and then into the memory, but the used swap zone has not been overwritten. This value is the size of the SWAp zone where the content already exists. When the corresponding memory is swapped out again, you do not have to write data to the swap zone.

2. Process Information:

PID process id USER process owner's USER name PR priority NI nice value. A negative value indicates a high priority. A positive value indicates the total virtual memory used by a low-priority VIRT process, in kb. VIRT = physical memory used by the SWAP + RES process and not swapped out, in kb. RES = CODE + data shr shared memory size, in kb S Process status: D = non-disruptive sleep state R = running S = sleep T = tracking/stopping Z = zombie process % percentage of CPU time consumed by the last CPU update to the present % percentage of physical memory used by the MEM Process percentage TIME + total cpu time used by the process, unit: 1/100 seconds COMMAND name/COMMAND line

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.