Linux TOP Command Summary

Source: Internet
Author: User

Top

The first line of the top command "top-14:55:57 up 366 days, 1:41, 8 users, load average:0.83, 0.74, 0.69" shows the contents in turn "

System Current Time,

The time that the system has been running so far,

The number of users currently logged on to the system,

System load (average length of the task queue) three values are 1 minutes, 5 minutes, 15 minutes ago to the current average "this three is generally less than 1, if it continues above 5, please carefully check that the program affects the operation of the system"

Second line

The second line of the top command "tasks:107 Total, 1 running, 106 sleeping, 0 stopped, 0 zombie"

Number of processes started

Number of processes that are running

Number of pending processes

Number of processes stopped

Number of zombie processes

Third line

The third line of the top command "CPU (s): 36.4%us, 1.2%sy, 0.0%ni, 62.1%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st"

The contents are displayed in turn

"User space consumption CPU percent"

"CPU percentage consumed by kernel space"

"CPU percentage of processes that have changed priority in user space"

"Idle CPU Percent"

"Wait for input and output CPU time percentage"

"Total amount of time spent on CPU servicing hardware interrupts"

"Total time spent on CPU service soft interrupts"

"Steal Time"

Line Four

Top command line Fourth "mem:16334456k total, 11213928k used, 5120528k free, 142268k buffers"

The display content is in sequence

Total Physical Memory

Physical memory already in use

Free physical Memory

Kernel Cache memory

Line 5th

Top command line 5th "swap:8388600k Total, 15368k used, 8373232k free, 8115472k cached"

The display content is in sequence

"Total swap area",

Total amount of interactive area used,

"Total idle swap area",

"Total buffer swap area".

Line 6th

Top command line 6th "PID USER PR NI VIRT RES SHR S%cpu%MEM time+ Command"

The display content is in sequence

"Process ID",

"Process Owner",

"Priority",

"Nice value, negative indicates high priority, positive values indicate low priority",

"Total amount of virtual memory used by the process",

"The amount of physical memory that the process is using, not being swapped out",

"Shared Memory Size",

"Process State",

"Percent CPU time consumption last updated to current",

Percent of physical memory used by the process,

"Process uses CPU time",

"Command name, command line."

Linux TOP Command Summary

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.