Windows下也可以使用osw追朔系统历史性能
来源:互联网 发布:淘宝行业关键词转化率 编辑:程序博客网 时间:2024/04/30 11:41
1、Windows系统历史性能分析困难背景
在Linux/Unix上,要追朔历史性能,一般采用部署nmon进行性能监控采集与存储的方式实现,但是却没有在Windows上的版本。
Windows系统如果要分析历史性能,一直是个老大难。
其实,ORACLE有一个监控工具叫OSWatcher的工具,不仅可以在Linux/Unix上使用,还可以在Windows上使用,叫OS Watcher For Windows (OSWFW),解决了Windows系统上历史性能不可查的问题。
2、OSWFW支持的Windows版本
Windows XP (x86 & x64)
Windows 7 (x86 & x64)
Windows 8 (x86 & x64)
Windows 2003 R1 & R2 (x86 and x64)
Windows 2008 R1 & R2 (x86 & x64)
Windows 2012
3、OSWFW采集的指标
Cache
LogicalDisk
Memory
Netstat
PagingFile
PhysicalDisk
Process
Processor
Server_Work_queue
System
Thread
4、软件官方说明与下载地址
参见metalink文档:433472.1 当前版本为oswfw_2_5.1
5、英文版Windows上OSWFW部署方法
c:\>unzip oswfw_2_5.1.zip
c:\oswfw_2_5.1>oswatcher 60 10000
参数值说明:60:每隔60秒收集一次
10000:持续运行10000小时
启动后,在c:\oswfw_2_5.1下会生成一个Archive文件,存放监控采集到的数据,数据以csv格式保存
6、中文版Windows上OSWFW部署方法
6.1 中文版Windows上运行oswfw问题
oracle官方metalink文档中介绍oswfw是只能运行在英文版Windows上的,但实际上,笔者经过测试,中文版Windows,通过修改windows的cmd窗口代码页,也是可以运行OSWFW的。在启动oswatcher时,会报下面信息
Start of Operating System Watcher for Windows
此时不应有 6.1。
c:\oswfw_2_5.1>
6.2 中文版Windows运行oswfw需修改窗口代码页
c:\oswfw_2_5.1>chcp 437
Active code page: 437
6.3 启动oswfw
c:\oswfw_2_5.1>oswatcher 60 10000
参数值说明:60:每隔60秒收集一次
10000:持续运行10000小时
7、RAC双机环境Windows上OSWFW部署方法
7.1 RAC环境使用OSWFW特别调整
(1)将OSWPrivNet.config.template文件更名为OSWPrivNet.config
(2)在OSWPrivNet.config文件中,加入所有节点的私网IP地址,如
# Start of OSWPrivNet.config file
# Put the IP addresses for all Interconnect interfaces of all nodes on a single line
# Remove the "#" character from the address line. The following are examples only:
192.168.1.100
192.168.1.101
# End of OSWPrivNet.config file
7.2 RAC环境启动方法
c:\oswfw_2_5.1>oswatcher 60 10000 RAC
8、停止OSWFW
8.1 单节点停止OSWFW
c:\oswfw_2_5.1>oswatcher stop
8.2 停止RAC中所有节点的OSWFW
c:\oswfw_2_5.1>oswatcher stop curiousgeorgel
本文作者:黎俊杰(网名:踩点),从事”系统架构、操作系统、存储设备、数据库、中间件、应用程序“六个层面系统性的性能优化工作
欢迎加入 系统性能优化专业群 ,共同探讨性能优化技术。群号:258187244
- Windows下也可以使用osw追朔系统历史性能
- 系统性能工具osw
- windows下使用VS2010编译jpeglib(实际操作vs2008也可以)
- 在Windows下也可以玩Ghost
- 【OS】systemstate dump和OSW系统监控的安装使用
- OSW使用报错
- OSW监控使用
- Windows(ce)下,无需资源文件也可以创建Dialog
- OSW
- OSW/OSWBB/OSWBBA的使用
- UDP socket也可以使用connect系统调用
- Unix下也可以使用Java Service Wrapper
- nginx下使用cgi也可以像apache一样了!
- Windows 系统下的Apache性能优化
- 使用历史压力测试数据对系统平台升级改造进行系统性能规划
- 简介VC下使用Windows性能计数器
- Linux 下使用 NMON 分析系统性能
- Linux 下使用 NMON 分析系统性能
- 2014年第三次多校总结
- 《学习bash》笔记--命令行选项和有类型变量
- mysqldump导出某个表的部分数据
- unity3d 滚动字幕
- spring 事务管理配置
- Windows下也可以使用osw追朔系统历史性能
- Rackspace 将支持更多的开源数据库
- 工厂模式的Assembly.Load(path).CreateInstance(className)出错解决方法
- 设计模式之 ----------- 迭代器模式
- 破茧成蝶1:设计流程——设计师具体做什么?
- 昂贵的聘礼(最短路)
- BZOJ 1934 善意的投票(最小割)
- POJ 2299 Ultra-QuickSort(归并排序求逆序对数)
- Java将毫秒转成时分秒,在android中常用