查看cpu 和内存使用率

huangzhimeng 2008-09-16 11:33:02
环境:unix AIX Version 5
怎样查看cpu的使用率和内存使用率?
我在网上查看了用top命令,top命令好像不好使
...全文
2822 17 打赏 收藏 转发到动态 举报
写回复
用AI写文章
17 条回复
切换为时间正序
请发表友善的回复…
发表回复
sxq1714 2012-06-06
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 的回复:]

不是把, 差不多吧!
top :
top - 19:19:32 up 39 min, 1 user, load average: 0.36, 0.39, 0.37
Tasks: 120 total, 1 running, 118 sleeping, 0 stopped, 1 zombie
Cpu(s): 5.2%us, 2.7%sy, 0.0%ni, 92.0%i……
[/Quote]

为什么在adb shell中top能用,free就显示free:not found
ww86140892 2010-09-30
  • 打赏
  • 举报
回复
朋友,有相关IIS监控器的资料看看吗?[Quote=引用 15 楼 lqwl2008 的回复:]

装上IIS 监控器 就可以详细的查看CPU详细率和内存使用率.
[/Quote]
lqwl2008 2008-10-21
  • 打赏
  • 举报
回复
装上IIS 监控器 就可以详细的查看CPU详细率和内存使用率.
lqwl2008 2008-10-21
  • 打赏
  • 举报
回复
装上IIS 监控器 就可以详细的查看CPU详细率和内存使用率.
huangzhimeng 2008-09-17
  • 打赏
  • 举报
回复
localhost:/settle/data/sms/belga/ycl/opt/BILL/BAK/SMS/INF/opt>vmstat

System configuration: lcpu=4 mem=3808MB

kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
2 1 931077 3081 0 0 0 17 60 0 39 32022 1060 28 4 65 2

哪个是cpu啊,我只要取cpu,然后监控他
huangzhimeng 2008-09-17
  • 打赏
  • 举报
回复
but ,thank you all the same!
huangzhimeng 2008-09-17
  • 打赏
  • 举报
回复
it is compony's computer,i can't install any software in it,I only can visted it
csan 2008-09-17
  • 打赏
  • 举报
回复
suggest you to install SNMP & MRTG
you can search some detail about them
hope it can help you
huangzhimeng 2008-09-17
  • 打赏
  • 举报
回复
我用的服务器上aix5 不支持top命令,好像要装第三方软件,
huangzhimeng 2008-09-17
  • 打赏
  • 举报
回复
不是很明白,我查了一下
us User time.
sy System time.
id CPU idle time.
这些都是时间,我现在只用cpu使用率,然后通过监控软件监控他,当cpu使用率达到60%时就告警,哪位大侠能否直接提供命令!
csan 2008-09-17
  • 打赏
  • 举报
回复
"us sy id wa" is useful to you
us: time spend running non-kenel code
sy: time spend running kenel code(system time)
id: idle time
wa: time waiting for IO
...

you can "man vmstat" to get them

"top","vmstat" is enough for you
jufeng2309 2008-09-16
  • 打赏
  • 举报
回复
以上写错了
vmstat不是sysstat
jufeng2309 2008-09-16
  • 打赏
  • 举报
回复
sysstat or top


free -m


你可以先man top
看看有没有相关帮助?
如果有的话,说明你的top命令是好用的!
mifeixq 2008-09-16
  • 打赏
  • 举报
回复
top
free
air_snake 2008-09-16
  • 打赏
  • 举报
回复
top 好
yangzhifu 2008-09-16
  • 打赏
  • 举报
回复
不是把, 差不多吧!
top :
top - 19:19:32 up 39 min, 1 user, load average: 0.36, 0.39, 0.37
Tasks: 120 total, 1 running, 118 sleeping, 0 stopped, 1 zombie
Cpu(s): 5.2%us, 2.7%sy, 0.0%ni, 92.0%id, 0.0%wa, 0.2%hi, 0.0%si, 0.0%st
Mem: 969328k total, 790264k used, 179064k free, 52788k buffers
Swap: 2112508k total, 0k used, 2112508k free, 305652k cached

free :
total used free shared buffers cached
Mem: 969328 790516 178812 0 52736 305600
-/+ buffers/cache: 432180 537148
Swap: 2112508 0 2112508

vmstat :

procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
2 0 0 178312 52804 305700 0 0 72 18 85 1119 13 4 82 1

感觉top还好一点^_^
realdragon2 2008-09-16
  • 打赏
  • 举报
回复
free和vmstat就能全部搞定了.

23,125

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧