|
Enter the top command to enter
First, the upper half
1, the very first line (task queue information)
Representing the current time
It indicates system uptime
The number of users currently logged on
The current system load (load balancing), the average length of the task queue. Three values of 1 minute, 5 minutes, respectively, 15 minutes prior to the current average.
A lower value indicates systems more easily, when divided by three numbers add up to 3 more than 0.6 help system has been very tense.
2, the second and third acts of the information process and the CPU (When there are multiple CPU, these elements may be more than two lines)
The current total number of processes
The current number of running processes
Process Sleep Number
Number stopped process
Number zombie process
Cpu (s): 0.4% us: user footprint CPU percentage, 03% sy: kernel footprint CPU percentage, 0.0% ni: within the user process space, changed the priority of the process CPU percentage, 99.3% id: idle CPU percentage
3, the fourth five acts of memory information
Total physical memory
The total amount of physical memory used
The total amount of free memory
The amount of memory used for the kernel cache
Total (under the concept of virtual memory is somewhat similar to windows) swap
Total swap use
The amount of free exchange zone
The total amount of swap buffer. The contents of memory to be swapped out to the swap area, and later was changed into memory, but the used swap has not been covered, the value is the size of the content already exists in memory swap area. Corresponding memory again can no longer be written to swap when swapped out.
Second, the lower half
Column Name
meaning
PID
Process id
PPID
The parent process id
RUSER
Real user name
UID
Process owner user id
USER
Username process owner
GROUP
Process owner group name
TTY
Terminal name to start the process. The process was not started from the terminal is displayed as?
PR
priority
NI
nice value. A negative value indicates a high priority, a positive value indicates a low priority
P
CPU last used, only makes sense in a multi-CPU environment
% CPU
Last update to the current occupancy percentage of CPU time
TIME
Total CPU time used by the process in seconds
TIME +
Total CPU time used by the process, the unit 1/100 sec
% MEM
Percentage of physical memory used by the process
VIRT
The total amount of virtual memory used by the process, the unit kb. VIRT = SWAP + RES
SWAP
Virtual memory used in the process, to be swapped out the size, unit kb.
RES
Process uses, not swapped out of physical memory size, unit kb. RES = CODE + DATA
CODE
Executable code amount of physical memory size, unit kb
DATA
Other than the part of the executable code (data segment + stack) the amount of physical memory size, unit kb
SHR
Shared memory size in kb
nFLT
Page number error
nDRT
Last write to the present, the number of pages have been modified.
S
Process status.
D = uninterruptible sleep state
R = Run
S = sleep
T = trace / Stop
Z = zombie process
COMMAND
Command name / command line
WCHAN
If the process is sleeping, it shows the system sleep function name
Flags
Task Flags, reference sched.h |
|
|
|