- 论坛徽章:
- 0
|
环境:AIX 5.3
机器:IBM P570
1.AIX 下的参数配置
chmod ugo+r /dev/kmem
chdev -l sys0 -a iostat=true
2.nmon 的使用方法
For spreadsheet output mode (comma separated values) use the following flags when invoking nmon:
-f spreadsheet output format [note: default -s300 -c288]
Output file is _YYYYMMDD_HHMM.nmon
-F same as -f but user supplied filename -m NMON changes to this directory before saving the file
-c number of snapshots
-s interval between snap shots
-x capacity planning (15 mins for 1 day = -fdt -s900 -c96)
-r goes into spreadsheet file [default hostname]
-l number of hdisks per sheet - defaults to 150, maximum value 250. see notes
-t include top processes in the output
-T as –t plus saves command line arguments in UARG section
-I Ignore processes using less than this amount of CPU when generating TOP section – useful for reducing data volumes
-A include data for async I/O (PROCAIO) sections
-E prevents ESS sections being produced (necessary when Disk Groups are being used because there are too many vpaths to process)
-D prevents DISK sections being produced (useful when Disk Groups are being used because there are too many hdisks to process)
-g file containing disk group definitions
-L includes LARGEPAGE section
-N include NFS sections
-S include WLM sections with subclasses
-W include WLM sections without subclasses
3.使用实例
监控资源时可以敲入命令如:
./nmon -f -s 60 -c 10
60是每隔60秒记录一次,
10是一共记录10次。
./nmon -fdt -s 900 -c 96
一天的统计数据.每十五分钟统计
./nmon -fdt -s 900 -c 288
3天的统计数据.每十五分钟统计
将生成的以.nmon结尾的文件通过FTP拷出来.通过nmon analyser v313电子表格生成图表。 记住在EXCEL里要启动宏哦
![]()
文件:
性能监测.rar
大小:
193KB
下载:
下载
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/17749/showart_102927.html |
|