利用OSW工具监控操作系统性能

参考:http://blog.csdn.net/tianlesoftware/article/details/7316191

下载:文档 ID 301137.1

命令:
启动OSW

点击(此处)折叠或打开

  1. ./startOSWbb.sh 60 10

  2.  

  3. This would startthe tool and collect data at 60 second intervals and log the last 10 hours ofdata to archive files.

  4. --这个命令每隔60秒收集一次,数据保留10个小时。

  --也可后台运行
  nohup ./startOSWbb.sh 60 10 &

关闭
./stopOSWbb.sh

生成网页版报告

点击(此处)折叠或打开

  1. java -jar oswbba.jar -i /root/osw/archive -6 -7 -8 -P
弹出菜单:

点击(此处)折叠或打开

  1. Enter 1 to Display CPU Process Queue Graphs

  2. Enter 2 to Display CPU Utilization Graphs

  3. Enter 3 to Display CPU Other Graphs

  4. Enter 4 to Display Memory Graphs

  5. Enter 5 to Display Disk IO Graphs

  6.  

  7. Enter 6 to Generate All CPU Gif Files

  8. Enter 7 to Generate All Memory Gif Files

  9. Enter 8 to Generate All Disk Gif Files

  10.  

  11. Enter L to Specify Alternate Location ofGif Directory

  12. Enter T to Specify Different Time Scale

  13. Enter D to Return to Default Time Scale

  14. Enter R to Remove Currently DisplayedGraphs

  15. Enter P to Generate A Profile

  16. Enter A to Analyze Data

  17. Enter Q to Quit Program
选P生成网页版报告,选A生成文本报告。

参数详解:文档 ID 461053.1

注:必须在图形界面下操作,否则会报错。

请使用浏览器的分享功能分享到微信等