NMON

一般用法:第一步,收集数据

nmon [-h] [-s <seconds>] [-c <count>] [-f -d <disks> -t -r <name>] [-x]

-h            FULL help information

Interactive-Mode:

read startup banner and type: "h" once it is running

For Data-Collect-Mode (-f)

-f            spreadsheet output format [note: default -s300 -c288]

optional

-s <seconds>  between refreshing the screen [default 2]

-c <number>   of refreshes [default millions]

-d <disks>    to increase the number of disks [default 256]

-t            spreadsheet includes top processes

-x            capacity planning (15 min for 1 day = -fdt -s 900 -c 96)

#-s12 每次采集数据的时间间隔。

#-c50 采集 50 次。

#-f 生成的数据文件名中包含文件创建的时间。

#-m 生成的数据文件的存放目录。

./nmon -s10 -c60 -f -m /data/nmondata

第二步:分析数据,使用提供的EXCEL脚本

猜你喜欢

转载自ibmtech.iteye.com/blog/856509