windows上也有os watcher: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

可以在MOS中Doc ID 433472.1下载。

官方文档虽然说不支持中文语言,但是其实可以通过修改cmd的窗口代码页来实现。

默认情况下:

[转帖]如何部署windows版本的oswatcher_hive

此时如果运行oswatcher,是会报错:

 

Start of Operating System Watcher forWindows
此时不应有6.1。
 
C:\oswfw>

 

 

 

修改窗口代码页,为consolas

[转帖]如何部署windows版本的oswatcher_Windows_02

如果cmd的默认代码页属性修改不了,那么修改注册表:
1 win键+R打开“运行”对话框,输入regedit打开注册表编辑器。
2 找到 [HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe]
3 修改”CodePage”=十进制,65001

[转帖]如何部署windows版本的oswatcher_hive_03

另外,如果不修改注册表,session级修改也可以。

 

 

1.打开cmd窗口
2.在cmd窗口输入chcp437
3.开始运行osw

 

 

开始运行osw,如下是表示每隔30秒收集一次,收集24小时。

 

 

c:\oswfw_2_5.1>oswatcher3024

 

 

Start of Operating System Watcher forWindows
 
Processing:OSWThread OSWSystem OSWServer_Work_Queue OSWProcessor OSWProcess OSWLogicalDisk OSWPhysicalDisk OSWPagingFile OSWNetstat OSWMemory OSWCache
Config Dir:c:\oswfw
Output File Directory:c$\oswfw
Output File Type:csv
Snapshot Interval:00:00:30seconds
Runtime Interval:0024:00:00(/du0024:00)hours
Node List:JIMMYHE
 
OSWatcher forWindows written by:
Kevin Reardon,Center of Expertise,Oracle Corporation
 
Starting OSWatcher forWindows V2.5.1on2017/02/22
 
Creating Archive Directories:
 
Node JIMMYHE created Archive
Node JIMMYHE created Archive\OSWThread
Node JIMMYHE created Archive\OSWSystem
Node JIMMYHE created Archive\OSWServer_Work_Queue
Node JIMMYHE created Archive\OSWProcessor
Node JIMMYHE created Archive\OSWProcess
Node JIMMYHE created Archive\OSWLogicalDisk
Node JIMMYHE created Archive\OSWPhysicalDisk
Node JIMMYHE created Archive\OSWPagingFile
Node JIMMYHE created Archive\OSWNetstat
Node JIMMYHE created Archive\OSWMemory
Node JIMMYHE created Archive\OSWCache
 
Creating OSWatcher Counters
Create Counter:OSWThread
Start Counter:OSWThread
Create Counter:OSWSystem
Start Counter:OSWSystem
Create Counter:OSWServer_Work_Queue
Start Counter:OSWServer_Work_Queue
Create Counter:OSWProcessor
Start Counter:OSWProcessor
Create Counter:OSWProcess
Start Counter:OSWProcess
Create Counter:OSWLogicalDisk
Start Counter:OSWLogicalDisk
Create Counter:OSWPhysicalDisk
Start Counter:OSWPhysicalDisk
Create Counter:OSWPagingFile
Start Counter:OSWPagingFile
Create Counter:OSWNetstat
Start Counter:OSWNetstat
Create Counter:OSWMemory
Start Counter:OSWMemory
Create Counter:OSWCache
Start Counter:OSWCache
Create OSWCleanup
ERROR:Unable toestablish existence of the account specified.
 
Data Collector Set                      Type                          Status
-------------------------------------------------------------------------------
OSWCache                                Counter                       Running
OSWLogicalDisk                          Counter                       Running
OSWMemory                               Counter                       Running
OSWNetstat                              Counter                       Running
OSWPagingFile                           Counter                       Running
OSWPhysicalDisk                         Counter                       Running
OSWProcess                              Counter                       Running
OSWProcessor                            Counter                       Running
OSWServer_Work_Queue                    Counter                       Running
OSWSystem                               Counter                       Running
OSWThread                               Counter                       Running
 
The command completed successfully.
 
The status of OSWClenanup on JIMMYHE is:JIMMYHE
 
 
c:\oswfw>

 

 

 

 

== update 2017-02-23 ===========================
其实windows版本的oswatcher,是调用了windows系统的性能监视器。
单击“开始”,在“开始搜索”框中单击,键入 perfmon,就可以打开性能监视器。添加监控项目。而已经安装oswatcher的性能监视器,如下图所示:

[转帖]如何部署windows版本的oswatcher_Windows_04

参考:
Doc ID 433472.1 – OS Watcher For Windows (OSWFW) User Guide
http://www.2cto.com/os/201407/321537.html

https://technet.microsoft.com/zh-cn/library/cc749115(v=ws.11).aspx