查看内存状态

vmstat查看内存状态

$ vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 0  1      0 6809304   1368 856744    0    0 32640     0   52  478  1  0 50 49  0
 0  1      0 6776620   1368 889456    0    0 32640     0   33  490  0  0 50 49  0
 0  0      0 6747540   1368 918576    0    0 29056     0   42  568  0  0 56 44  0
 0  0      0 6747540   1368 918576    0    0     0     0   40  141  1  0 100  0  0
 0  0      0 6747160   1368 918576    0    0     0     0   40  148  0  1 99  0  0

buff: 写入缓冲区。

cache: 读取缓冲区。

bi: 每秒从块设备上读取的块数(block/s)。

bo: 每秒向块设备上写入的块数(block/s)。

in: 每秒中断次数,包含时钟中断。

cs: 每秒的上下文切换次数。

results matching ""

    No results matching ""