vmstat command

The vmstat command can view CPU, memory, virtual disk swap partition, disk (io is disk),
vmstat command
system
process How many processes are in the running state, the process that is using the CPU and the process that is queuing to use the CPU belong to the state of r;
column b: it is blocked by resources other than the CPU, and it is in a waiting state, block state;
swpd Column: If the value of swpd keeps changing, it means that the swap partition and the memory frequently exchange data, which means that the memory is not enough;
si column: how many KB data enters the memory from swap, i in si refers to in, and enters the memory so column :
how many KB data came out of memory, o in so refers to out, which came out of memory;
bi column: how much data was read from disk and into memory;
bo column: written The amount of data;
us column: the percentage of CPU occupied by user-mode resources, if the us value is greater than 50 for a long time, it means that the resources are not enough;
sy column: the percentage of CPU occupied by the system itself;
id column: IDLE idle, us value + sy value +id value = 100%;
wa column: the percentage of waiting CPU, the larger the value, the longer the waiting time and the insufficient resources
vmstat command
#vmstat 1 5 //Refers to displaying system information once every second, and ending the display 5 times
vmstat command

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325303097&siteId=291194637