参考:http://blog.csdn.net/tianlesoftware/article/details/7316191
下载:文档 ID 301137.1
命令:
启动OSW
关闭
./stopOSWbb.sh
生成网页版报告
弹出菜单:
选P生成网页版报告,选A生成文本报告。
参数详解:文档 ID 461053.1
注:必须在图形界面下操作,否则会报错。
下载:文档 ID 301137.1
命令:
启动OSW
点击(此处)折叠或打开
- ./startOSWbb.sh 60 10
-
-
-
- This would startthe tool and collect data at 60 second intervals and log the last 10 hours ofdata to archive files.
-
- --这个命令每隔60秒收集一次,数据保留10个小时。
--也可后台运行
nohup ./startOSWbb.sh 60 10 &
./stopOSWbb.sh
生成网页版报告
点击(此处)折叠或打开
- java -jar oswbba.jar -i /root/osw/archive -6 -7 -8 -P
点击(此处)折叠或打开
- Enter 1 to Display CPU Process Queue Graphs
-
- Enter 2 to Display CPU Utilization Graphs
-
- Enter 3 to Display CPU Other Graphs
-
- Enter 4 to Display Memory Graphs
-
- Enter 5 to Display Disk IO Graphs
-
-
-
- Enter 6 to Generate All CPU Gif Files
-
- Enter 7 to Generate All Memory Gif Files
-
- Enter 8 to Generate All Disk Gif Files
-
-
-
- Enter L to Specify Alternate Location ofGif Directory
-
- Enter T to Specify Different Time Scale
-
- Enter D to Return to Default Time Scale
-
- Enter R to Remove Currently DisplayedGraphs
-
- Enter P to Generate A Profile
-
- Enter A to Analyze Data
-
- Enter Q to Quit Program
参数详解:文档 ID 461053.1
注:必须在图形界面下操作,否则会报错。
点击(此处)折叠或打开
- ./startOSWbb.sh 60 10
-
-
-
- This would startthe tool and collect data at 60 second intervals and log the last 10 hours ofdata to archive files.
-
- --这个命令每隔60秒收集一次,数据保留10个小时。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22621861/viewspace-1624196/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22621861/viewspace-1624196/