- On the View menu, click Log.
- On the Edit menu, click Add To Log.
- In the Computer field, specify the name of the local computer or a remote computer you want to get a log of. In Objects, add the counters that you want Performance Monitor to log. These counters will change depending on the issue that you are troubleshooting.
- Click to highlight the objects that you wish to monitor and then click Add.
- Under Options click Log.
- Under File Name, name the log.
- In Update Time, set the interval according to how long you want to run the Performance Monitor log. If you want to run the log for an extended period of time, you will want to set this update time to an interval much higher than 15 seconds or the log will be very large. If you are going to run the log for only an hour, then 15 seconds will be fine.
- Click Start Log. The icon will change to a Stop Log icon once the log is started.
- Under Options click Log and then click Stop Log.
- In the Options menu click Data from, click Log File, and then click to select the radio button beside the perfmon.log field and locate your log file.
NOTE: You cannot open a log file simply by clicking File and then clicking Open.
- After you open the log file, add the objects and counters that the log has monitored. Do this for each view needed, otherwise the log file's data will not be available.
Memory resource issues:
Terminal Services (if a Terminal Server)
Server work queues
Thread (do NOT capture if a terminal server)
All Terminal Server counters (if a Terminal Server)
All Protocol counters bound to network adapters
- Disk counters require that you run diskperf -y from the command console and then restart the computer.
- We usually do not capture threads on a terminal server because this counter can consume 80% of a data file.
- You have several options if the computer that is running Perfmon is restarted or goes down while the log is going. You can start a new log, or, if you specify the name of an existing log file, the new data is appended to the end of the log file. It is important to let the engineer know the log was restarted. However, if you are monitoring remotely and the target computer goes down, this does not apply.
- If there are processes that start after the log was started, they will not show up in the beginning of the log. To view different periods in the log, click Edit, click Time Window, and then use the sliding scale.
- If the user logs off, the performance monitor log will stop. You can set up Performance logging as a service, but it is easiest to run Performance Monitor remotely from another Windows NT system.
รหัสบทความ: 150934 - การตรวจสอบครั้งสุดท้าย: 11 ก.ย. 2011 - ฉบับแก้ไข: 1