java system performance

1, top or uptime


first row:

11:12:26 [Current Time]

up 3:44 [system running time, format too: min],

4 users [Current User Number],

load average: 0.38, 0.31, 0.19 [system load, i.e. the average length of the task queue. Three values ​​were 1 minute, 5 minutes, 15 minutes prior to the current average value]

Twenty-three line processes and CPU information:

The total number of total process

The number of processes running running

Number of sleeping the sleep of the process

stopped stopped process number

zombie zombie number of processes

Cpu(s):

0.3 % US user space occupied percentage of CPU

1.0 % SY core CPU space occupancy Percentage

0.0 -priority processes within% ni user process space, changed the percentage of CPU

98.7 % the above mentioned id idle CPU percentage

0.0 % WA waiting for input and output of the percentage of CPU time

0.0 % hi: hardware interrupt CPU occupancy percentage

0.0 % Si: soft interrupt percentage occupancy

0.0% st: virtual machine occupancy percentage


Load average is defined as the process tree running average queue within a specific time interval. If a process following conditions are met then it will be located in the run queue:

a)    It is not waiting for I / O operation results

b)    It does not take the initiative to enter the wait state ( that is not called 'wait')

c)    is not stopped ( eg: waiting termination)

The above output, load average behind are 1 minute, 5 minutes, 15 minutes load. Is the number of data every 5 seconds to check a dynamic process, and then calculated based on this value. If this number is divided by the number of CPU, the result of higher than 5 when he shows that the system is overloaded, normally maintained at 0.7 and below!


Published 29 original articles · won praise 3 · views 20000 +

Guess you like

Origin blog.csdn.net/yangleiGJ/article/details/54922515