A. You can use the Excel Macro Perfmon.xla. Perfmon.xla can be downloaded from http://www.ntfaq.com/download/perfmon.zip. Use the macro as follows:
- Start Performance Monitor (Start - Programs - Administrative Tools (Common) - Performance Monitor)
- Move into Chart Mode (Select Chart from the View menu or press Ctrl-C)
- Add the following Counters
- Memory-Available Bytes
- PhysicalDisk-% Disk Time
- PhysicalDisk-Current Disk Queue Length
- Processor-% Processor Time
- System-Processor Queue Length
These are added by selecting "Add to Chart" from the Edit menu (or click the big + on the toolbar). The first part, e.g. Memory is the Object, and the second part is the Counter. Click Done when all are added
- Let the monitor run for a while and perform your normal day-to-day operations.
- Once it has run for a while select "Export Chart" from the file menu. In the "Save as type", select "Export CSV Files (*.csv)" and enter a name (it will add .csv for you). Click Save
- Exit Performance Monitor
- Start Excel and open a new blank spreadsheet.
- Select Open from the File menu. Select "Files of type" "Add-Ins" and move to the directory you extracted perfmon.xla to. Select perfmon.xla and click Open.
- Select Open from the Planning menu. Move to the directory you saved the file in step 5, select the file and click Open.
- Select Bottlenecks from the Planning menu and it will give a list of possible bottlenecks. Selecting one will give more detail in the Suggestions area. Click OK when you are finished.
- You can also create a chart by selecting "Create Chart" from the Planning menu, select the counters you want to show on the chart and click OK.
This macro is only basic, but it may give you some starting points to investigate and automates the line of thinking you should be following.