免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1756 | 回复: 0
打印 上一主题 下一主题

[小机硬件] IBM 小型机的性能监控程序 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-21 11:26 |只看该作者 |倒序浏览
环境: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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP