Link to home
Start Free TrialLog in
Avatar of mmudry
mmudry

asked on

No physical/logical disk counter

I am trying to configure a counter in perfmon, but there is no option for physicaldisk or logicaldisk.  I tried running diskperf.exe -n, then diskperf.exe -y , but no luck.  Any help?
Avatar of theruck
theruck
Flag of Slovakia image

please tell us what do you want to count at least...
Avatar of mmudry
mmudry

ASKER

physicaldisk or logicaldisk
physicaldisk or logicaldisk what?
run perfmon and create a new counter there with the approp counters
sorry - only saw diskperf mentioned.......are there any disk counters?
To add counters to a log
Using the Windows interface

Open Performance.
Double-click Performance Logs and Alerts, and then click Counter Logs.
In the details pane, double-click the log you want to modify.
On the General tab, click Add Counters. For each counter or group of counters that you want to add to the log, perform the following steps:
To log counters from the computer on which the Performance Logs and Alerts service will run, click Use local computer counters.
Or, to log counters from a specific computer regardless of where the service is run, click Select counters from computer and specify the Universal Naming Convention (UNC) name, such as \\MyLogServer, of the computer you want to monitor.

In Performance object, select an object to monitor.
In Select counters from list, click one or more counters to monitor.
To monitor all instances of the selected counters, click All Instances. (Binary logs can include instances that are not available at log startup, but which subsequently become available.)
Or, to monitor particular instances of the selected counters, click Select Instances From List, and then click an instance or instances to monitor.

Click Add.
 Notes

To open Performance, click Start, click Control Panel, click Performance and Maintenance, click Administrative Tools, and then double-click Performance.
When creating a monitoring console for export, be sure to select Use local computer counters. Otherwise, counter logs will obtain data from the computer named in the text box regardless of where the console file is installed.
For a description of a counter, click the counter in Performance counters and then click Explain.
Avatar of mmudry

ASKER

Yes all of them seem to be there except those two.
Avatar of mmudry

ASKER

It does not appear.  I know how to add the counters.
try to re-register the perfmon application using regsvr32 aspperfc.dll
you may also need to re-register the pdh.dll as well because it is a helper dll.
Avatar of mmudry

ASKER

Well I ran diskperf.exe -n and -y again then rebooted and it works now.  Problem solved.
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial