您的位置:首页 > 编程语言 > ASP

IIS6.0 + ASP + NET + PHP + PERL + MSSQL + MYSQL 最新服务器安全设置技术实例

2008-01-21 18:02 911 查看
vmstat 查看虚拟内存使用状况工具

vmstat [刷新时间间隔delay [刷新次数count] ]
若不指定delay,只显示一条结果
若不指定count,动态显示知道Ctrl+C终止

[root@instructor ~]# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 0 193684 117032 11617732 0 0 95 158 329 404 5 1 92 2 0

[root@node2 ~]# vmstat 1 300 -t> test.txt

[root@node2 ~]# vmstat 1 3| awk '{print strftime("%H:%M:%S") $0;}'
05:33:51procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
05:33:51 r b swpd free buff cache si so bi bo in cs us sy id wa st
05:33:51 1 0 0 488932 44960 183828 0 0 8 1 19 20 0 0 100 0 0
05:33:52 0 0 0 488916 44960 183828 0 0 0 0 42 39 0 0 100 0 0
05:33:53 0 0 0 488916 44960 183828 0 0 0 0 36 34 0 0 100 0 0

[root@node2 ~]# vmstat 1 3| awk '{print strftime("%H:%M:%S") $0;}' > new.txt

本文出自 “振翅的小宇宙” 博客,请务必保留此出处http://upgirl.blog.51cto.com/3744514/947107
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐