- 论坛徽章:
- 0
|
Glance C.04.70.000 20:15:03 scocsrb1 ia64 Current Avg High
------------------------------------------------------------------------------------------------------------------------------------
CPU Util SU U | 8% 4% 8%
Disk Util F F | 14% 5% 14%
Mem Util S SU UB B | 43% 43% 43%
Swap Util U UR R | 32% 32% 32%
------------------------------------------------------------------------------------------------------------------------------------
PROCESS LIST Users= 5
User CPU % Thrd Disk Memory Block
Process Name PID Name ( 800% max) Cnt IOrate RSS/VSS On
--------------------------------------------------------------------------------
IAServer 22055 dcm 55.4 17 0.0 3.71gb 4.82gb SLEEP
utild 2494 root 1.2 1 14.6 2.6mb 2.8mb SLEEP
midaemon 1938 root 0.2 2 0.0 39.0mb 43.0mb SLEEP
scopeux 1920 root 0.2 1 0.0 25.8mb 32.8mb SLEEP
timestenorad 16744 tt 0.2 15 0.2 666.6mb 740.7mb OTHER
vxfsd 57 root 0.2 49 3.4 20.2mb 22.8mb SLEEP
coda 2003 root 0.0 8 0.0 29.8mb 80.1mb OTHER
timestenrepd 26130 tt 0.0 10 0.0 427.0mb 1.75gb OTHER
timestenorad 26129 tt 0.0 15 0.0 437.1mb 1.77gb OTHER
DCLogManager 26553 dcm 0.0 2 0.0 23.8mb 28.1mb OTHER
java 1542 ocs 0.0 52 0.0 605.1mb 1.29gb OTHER
timestensubd 26106 tt 0.0 12 0.0 678.9mb 909.3mb OTHER
timestensubd 26105 tt 0.0 12 25.3 448.9mb 1.76gb OTHER
ttIsqlCmd 11400 dcm 0.0 1 0.0 517.4mb 1.72gb STRMS
java 24808 ocs 0.0 70 0.0 2.09gb 2.24gb OTHER
cimprovagt 1722 root 0.0 24 0.0 94.0mb 140.5mb SLEEP
vxsvc 2396 root 0.0 18 0.0 55.4mb 82.3mb SLEEP
swapper 0 root 0.0 1 2.4 64kb 72kb SLEEP
请问怎样实时每个5秒将上面进程IAServer所耗CPU,内存,I/O情况,RSS/VSS记录到一个文本中;
然后用曲线分析这个进程在2个小时之类的波动情况;
我现在的问题是用glance每次都是监控的整个主机的资源情况,并不是我想要的,我需要的是IASERVER所用资源的情况;
我的主机是hp-ux ia 11.23 |
|