2010年2月8日 星期一

windows 效能監視器設定步驟

以下為效能監視器設定步驟: PS :thread 可以看到每一個thread 使用狀況.但可能會讓log 變很大.請小心注意disk 空間.盡可能不要將perfmon log 放在C Drive

Perfmon

1.    Collect performance log from the server by the following steps:

1.   Launch Windows Performance tool perfmon.exe.

2.   On the left panel, expand the Performance Logs and Alerts item.

3.   Right click Counter logs on the left panel and choose New log Settings.

4.   Specify a log name and click OK.

5.   Click Add.

6.   In the Performance object list, choose one objects, and make sure that All counters and All instances are selected, then click Add. Repeat to add the all the following performance objects, then click Close to return.

Cache
Memory
Network Interface
Paging File
PhysicalDisk
Process
Processor
Server
Server Work Queues
System
Thread 

7.   In the Sample data every section, set Interval to 10 and set Units to Sec.

8.   On the Log Files tab, please set the Location and File name of the log file.

9.   On the "Schedule" tab, set "Start log" to "At"  "00:00:00" of the next day, set "Stop log" to "After 1 days", then check "Start a new log file".

10.    Click OK to return. The performance log will automatically start at midnight and create a new log file every day.

11.    Please keep collecting the information until the problem happens again. And then you can transfer the log back to me for analysis. 

 

沒有留言: