원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


1. nmon의 특성

- 실시간으로AIX 성능을 모니터합니다.
- 성능 데이터를 spreadsheet 형태로 수집하여 추후 nmon analyser를 통하여 분석할 수 있게 합니다.
- AIX V4와 V5를 지원하며 32bit, 64bit Kernel용으로 나누어져 있습니다. 
- AIX Kernel로부터 다음 성능 데이터를 가져옵니다.
CPU Information
CPU type
No. of CPUs
CPU cache size
stats & graphical form Disk
read KB/s
write KB/s
%busy
stats & graphical form Adapter
Disk stats collected
at the adapter level Memory
physical used/free
virtual used/free
paging in/out

CPU Utilization
user
kernel
I/O wait
idle
For each CPU
For whole system Network
read/write rate
transfers
average packet size
(including SP switch) AIX Kernel counters
Run queue
process switches
fork/exec
read/write
lot more system calls Top process
in CPU order with
%CPU used nd pid & user & nice
size & resident set
I/O & memory used and open files
start time, status, no of threads

2. 설치에 필요한 file

nmon tar file :
http://www-1.ibm.com/servers/esdd/articles/analyze_aix/index.html#3
에서 download 할 수 있습니다. 

3. nmon 실행 방법

위의 사이트에서 nmon을 download받은 후, tar를 풀고 nmon을 실행합니다.
#nmon




--->

1. 첨부파일에 있는 nmon tar.gz 파일을 서버로 업로드 하고
해제를 해서 nmon 실행파일을 돌리면 된다.

2. 다음 명령어를 cron으로 돌린다.
# cd /home/nmonout
# ./nmon –ft –s 300 –c 288


파일명이 groupware_070418_0800.nmon 식으로 생긴다.


3. 분석기로 돌리기 위해서 다음 명령어를 실행시킨다.
# sort groupware_070418_0800.nmon > groupware_070418_0800.nmon.csv

4. 생성된 csv를 PC로 가져온다.

5. PC에 analyser 압축파일을  풀고 그 위치에 csv 파일을 가져온다음에
nmon analyser v326.xls 파일을 매크로와 함께 열어서

csv 불러오기를 해주면  자동으로 그래프가 생성된다.
서버에 요청 중입니다. 잠시만 기다려 주십시오...