1.vmstat -I 1
kthr memory page faults cpu
-------- ----------- ------------------------ ------------ -----------
r b p avm fre fi fo pi po fr sr in sy cs us sy id wa
1 1 0 236130 1707 0 5 0 0 0 1 296 4907 406 55 4 40 1
1 0 0 230809 7026 0 3 0 0 0 0 312 7948 469 90 9 1 0
1 0 0 234079 3756 0 3 0 0 0 0 314 7772 455 96 4 0 0
3 0 0 235620 2215 0 4 0 0 0 0 314 9933 462 91 9 0 0
1 0 0 229008 8826 0 3 0 0 0 0 309 7028 455 94 6 0 0
1 0 0 233515 4319 0 3 0 0 0 0 315 7936 455 94 6 1 0
1 0 0 235533 2301 0 3 0 0 0 0 312 8487 454 92 8 0 0
其中:
kthr 下的 p: 每秒钟真正等待物理I/O的线程数
page 下的 fi: 每秒钟调入的文件页数
fo: 每秒钟调出的文件页数
2.vmstat -t 1
kthr memory page faults cpu time
----- ----------- ------------------------ ------------ ----------- --------
r b avm fre re pi po fr sr cy in sy cs us sy id wa hr mi se
0 0 228656 9128 0 0 0 0 0 0 312 3079 466 1 1 98 0 08:57:31
0 0 228656 9128 0 0 0 0 0 0 323 3178 482 1 1 97 1 08:57:32
0 0 228749 9035 0 0 0 0 0 0 305 7520 458 5 8 85 2 08:57:33
0 0 228689 9095 0 0 0 0 0 0 315 2903 467 0 1 98 1 08:57:34
0 0 228656 9128 0 0 0 0 0 0 316 2979 469 0 0 98 2 08:57:35
0 0 228656 9128 0 0 0 0 0 0 309 3045 463 2 1 97 0 08:57:36
0 0 228656 9128 0 0 0 0 0 0 313 3108 459 2 0 97 1 08:57:37
1 0 228656 9128 0 0 0 0 0 0 311 2797 448 0 0 99 0 08:57:38
增加了记录系统时间的选项
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/4096/viewspace-52532/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/4096/viewspace-52532/