Windows下也能夠使用osw追朔系統曆史效能

來源:互聯網
上載者:User

標籤:下載   ble   資料   探討   ip地址   end   windows   window   說明   

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、停止OSWFW8.1 單節點停止OSWFW

c:\oswfw_2_5.1>oswatcher stop

8.2 停止RAC中全部節點的OSWFW

c:\oswfw_2_5.1>oswatcher stop curiousgeorgel

 


本文黎俊傑(網名:踩點),從事”系統架構、作業系統、存放裝置、資料庫、中介軟體、應用程式“六個層面系統性的效能最佳化工作

歡迎增加 系統效能最佳化專業群 。共同探討效能最佳化技術。群號:258187244

Windows下也能夠使用osw追朔系統曆史效能

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.