{"id":126587,"date":"2018-11-15T08:34:41","date_gmt":"2018-11-15T00:34:41","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=126587"},"modified":"2018-11-08T09:36:09","modified_gmt":"2018-11-08T01:36:09","slug":"linux-vmstat-do","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-vmstat-do.html","title":{"rendered":"Linux vmstat\u547d\u4ee4\u5b9e\u9645\u64cd\u4f5c\u4ecb\u7ecd"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | vmstat\u662fVirtual Meomory Statistics\uff08\u865a\u62df\u5185\u5b58\u7edf\u8ba1\uff09\u7684\u7f29\u5199\uff0c\u53ef\u5bf9\u64cd\u4f5c\u7cfb\u7edf\u7684\u865a\u62df\u5185\u5b58\u3001\u8fdb\u7a0b\u3001CPU\u6d3b\u52a8\u8fdb\u884c\u76d1\u63a7\u3002\u5b83\u80fd\u591f\u5bf9\u7cfb\u7edf\u7684\u6574\u4f53\u60c5\u51b5\u8fdb\u884c\u7edf\u8ba1\uff0c\u65e0\u6cd5\u5bf9\u67d0\u4e2a\u8fdb\u7a0b\u8fdb\u884c\u6df1\u5165\u5206\u6790\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n vmstat \u5de5\u5177\u63d0\u4f9b\u4e86\u4e00\u79cd\u4f4e\u5f00\u9500\u7684\u7cfb\u7edf\u6027\u80fd\u89c2\u5bdf\u65b9\u5f0f\u3002 1) \u3001vmstat\u663e\u793a\u865a\u62df\u5185\u5b58\u4f7f\u7528\u60c5\u51b5<\/strong><\/div>\n linuxidc@linuxidc:~$ vmstat\r\nprocs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----\r\nr\u00a0 b \u4ea4\u6362 \u7a7a\u95f2 \u7f13\u51b2 \u7f13\u5b58\u00a0 si\u00a0 so\u00a0 \u00a0 bi\u00a0 \u00a0 bo\u00a0 in\u00a0 cs us sy id wa st\r\n4\u00a0 0\u00a0 \u00a0 \u00a0 0 156252\u00a0 61016 871752\u00a0 \u00a0 0\u00a0 \u00a0 0\u00a0 \u00a0 76\u00a0 \u00a0 29\u00a0 53\u00a0 138\u00a0 1\u00a0 1 98\u00a0 0\u00a0 0\r\n<\/pre>\n |