CPU사용률 모니터링
# nmon -> t 옵션
# topas -P
특정 기간(ex. 5초 등..)동안 CPU사용률을 확인하고 싶다면 tprof 커맨드 사용
# tprof -x sleep <측정 시간 / 초단위>
=> 현재 directory에 sleep.prof 라는 이름의 output 파일이 생성되며, CPU 사용률로 sorting하여 결과 로깅됨
ex) # tprof -x sleep 30
# cat sleep.prof
Configuration information
=========================
...snip...
Tprof command was:
tprof -x sleep 5
Trace command was:
/usr/bin/trace -ad -M -L 1339173273 -T 500000 -j 00A,001,002,003,38F,005,006,134,210,139,5A2,5A5,465,234,5D8, -o -
Total Samples = 625
Traced Time = 5.01s (out of a total execution time of 5.01s)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Process Freq Total Kernel User Shared Other
======= ==== ===== ====== ==== ====== =====
wait 8 99.84 99.84 0.00 0.00 0.00
/usr/sbin/snmpmibd 1 0.16 0.16 0.00 0.00 0.00
======= ==== ===== ====== ==== ====== =====
Total 9 100.00 100.00 0.00 0.00 0.00
Process PID TID Total Kernel User Shared Other
======= === === ===== ====== ==== ====== =====
wait 131076 131077 66.24 66.24 0.00 0.00 0.00
wait 1114146 1638451 8.16 8.16 0.00 0.00 0.00
wait 1179684 1703989 8.00 8.00 0.00 0.00 0.00
wait 1048608 1572913 8.00 8.00 0.00 0.00 0.00
wait 1245222 1769527 8.00 8.00 0.00 0.00 0.00
wait 1310760 1835065 0.80 0.80 0.00 0.00 0.00
wait 1441836 2228293 0.32 0.32 0.00 0.00 0.00
wait 1376298 2162755 0.32 0.32 0.00 0.00 0.00
/usr/sbin/snmpmibd 7602378 9306289 0.16 0.16 0.00 0.00 0.00
======= === === ===== ====== ==== ====== =====
Total 100.00 100.00 0.00 0.00 0.00
'욕심쟁이 공부방 > AIX' 카테고리의 다른 글
enhanced_affinity_affin_time (0) | 2018.11.26 |
---|---|
/var/tmp/Ex*, /var/preserve/... (0) | 2018.11.26 |
j2_inodeCacheSize / j2_metadataCacheSize (0) | 2018.11.26 |
dumplv에 대하여 (0) | 2018.11.26 |
ERROR LOGGING BUFFER OVERFLOW (0) | 2018.11.26 |