1, Windows system Historical performance analysis difficult background
In Linux/unix, to follow the historical performance, general deployment nmon for performance monitoring collection and storage implementation, but there is no version on Windows.
Windows systems are always a long-standing business if they are to analyze historical performance.
In fact, Oracle has a monitoring tool called Oswatcher, which can be used not only on Linux/unix, but also on windows, called OS Watcher for Windows (OSWFW), Resolves an issue in which historic performance on Windows systems is not available.
2,OSWFWsupported byWindowsversion
Windows XP (x86 & x64) Windows 7 (x86 & x64) Windows 8 (x86 & x64) Windows 2003 R1 & R2 (x86 and x64) Windows R1 & R2 (x86 & x64) Windows 2012 |
3,OSWFWMetrics collected
Cache LogicalDisk Memory Netstat Pagingfile PhysicalDisk Process Processor Server_work_queue System Thread |
4, software official description and
See Metalink Documentation: 433472.1 The current version is oswfw_2_5.1
5, English versionWindowsonOSWFWDeployment Method
C:\>unzip Oswfw_2_5.1.zip C:\oswfw_2_5.1>oswatcher 60 10000 |
parameter Value Description: - : Every - seconds to collect once
10000 : Continuous Operation 10000 hours
After booting, a archive file is generated under c:\oswfw_2_5.1, which stores the data collected by the monitor, and the data is saved in CSV format.
6, Chinese versionWindowsonOSWFWDeployment Method6.1 Chinese version of Windows running OSWFW problem
The Oracle Official Metalink documentation describes OSWFW that can only be run on the English version of Windows, but in fact, I have been tested, the Chinese version of Windows, by modifying the Windows CMD Window code page, is also able to run OSWFW. When you start Oswatcher, the following information is reported
Start of Operating System watcher for Windows There should be no 6.1 at this time. C:\oswfw_2_5.1> |
6.2Chinese versionWindowsRunOSWFWneed to modify the window code page
C:\OSWFW_2_5.1>CHCP 437 Active Code page:437 |
6.3StartOSWFW
C:\oswfw_2_5.1>oswatcher 60 10000 |
parameter Value Description: - : Every - seconds to collect once
10000 : Continuous Operation 10000 hours
7,RACDual-machine environmentWindowsonOSWFWDeployment Method7.1 RAC Environment uses OSWFW special adjustment
(1) Rename the OSWPrivNet.config.template file to Oswprivnet.config
(2) in the Oswprivnet.config file, add the private IP address of all nodes, such as
# Start of Oswprivnet.config file # Put The IP addresses for all interconnect interfaces of any nodes on a single line # Remove the "#" character from the address line. The following is examples only: 192.168.1.100 192.168.1.101 # End of Oswprivnet.config file |
7.2 RAC Environment Startup method
C:\oswfw_2_5.1>oswatcher 10000 RAC |
8. Stop OSWFW8.1 single node stop OSWFW
C:\oswfw_2_5.1>oswatcher stop |
8.2 Stopping the OSWFW of all nodes in the RAC
C:\oswfw_2_5.1>oswatcher Stop Curiousgeorgel |
This article Li Junjie (Network Name: casing), engaged in "system architecture, operating systems, storage devices, databases, middleware, applications" six levels of systematic performance optimization work
Welcome to the System performance Optimization Professional group, to discuss performance optimization technology together. Group number: 258187244