Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Performance monitor missing counters 1

Status
Not open for further replies.

grofaty

IS-IT--Management
Jan 16, 2003
370
SI
Hi,

I use WinXP sp2. I tried to configer Perfomance monitor.

1. I run program Start | Control Panel | Administrative tools | Performance.
2. I clicked on System Monitor folder and tried to add perormance counters (clicked on + button on tools bar).
3. But suprise, Performance object drop down menu is empty. There are no object available.

Is my performance monitor courrupted? How to fix it?

P.S. Service Performance Logs and Alerts can't be started!

Thanks,
Grofaty
 
Start, Run, cmd

winmgmt /clearadap
winmgmt /kill
winmgmt /unregserver
winmgmt /regserver
winmgmt /resyncperf

 
Hi bcastner,

I executed all command one after another in order you specified, but this didn't solve my problem.

Nothing has changed. Performance object drop down menu is still empty. There are still no object available.

It looks like your command didn't have any efect on Performanc monitor. :(

Do you have any idea why? How to fix Performance monitor?

Thanks,
Grofaty
 
Use Recovery Console or MSCONFIG to expand and replace these two files from the XP CD: perfc009.dat and perfh009.dat.
 
Hi,

I tried to copy pefc009.da_ and pefh009.da_ to the system32 dir and then renamed the .da_ to .dat.

Performance monitor does not work!

How to "expand" above files from CD rom?

Thanks,
Grofaty
 
Start, Run, msconfig
Click on the button at lower right 'Expand File....'

The files go into the directory:
%SystemRoot%\system32

 
Hi,

1. I opened msconfig.
2. The "Expand One File from Installation Source" window opened.
3. I wrote pefc009.da_ in "File to restore" field.
4. I wrote c:\windows\system32 in "Save file in".
What should I write into the "Restore from" field? It looks like it requires the *.cab file.

Grofaty
 
File to restore: perfc000.dat
Restore from: cd_drive_letter:\i386\perfc009.da_
c:\windows\system32 in "Save file in"

You do the steps twice for the two files needed, perfh009.dat, perfh009.da_

You can also use the Expand command in Recovery Console:

expand cd_drive_letter:\i386\perfc009.da_
c:\windows\system32\perfc009.dat

Similarly, with perfh009.dat

 
Hi,

I did:
1. renamed perfc009.dat and perfh009.dat files in c:\windows\system32 dir.
2. executed expand command for both files.
3. both files were successfuly copied to system32 dir.
4. I restarted computer
5. I started the Performance Monitor.

Performance Monitor still has no object (counters). Drop down menu is empty.
As I see your tip isn't good for me.

Do you have any idea how to fix this problem?

P.S. MSCONFIG expand button does not work. It copies the *.da_ files to system32. So I used expand command instread.

Grofaty
 
. the MSCONFIG Expand button does work, albeit it is not as clear as it could be

. I really am trying to help. I want to avoid a reinstallation of XP, so you are going to have to try several things to resolve this problem. At the moment I have had you rebuild the WMI service, and replace the counter files.

There are several other things that may be of issue:

. From my original link above, there could well be a registry issue: Quoting from an earlier KB article - :

The Performance Monitor object and counter names are stored in the "Counters" in this Registry Key: HKEY_LOCAL_MACHINE
\Software
\Microsoft
\WindowsNT
\CurrentVersion
\Perflib
\<LangID> (LangID 009 = U.S. English)

If the list of objects and counters available to chart in Performance Monitor is incomplete or blank, it may be because Perflib subkeys other than the 009 subkey exist. Performance Monitor only uses the contents of one <LangID> subkey. Additional subkeys under the Perflib subkey are created when the Language setting in Control Panel is modified.

Your choices are:

#1 Examine the registry key

. if other than the 009 key exists, remove all but the 009 key
. Or, export from a working computer the entire registry key, and Import the resulting .reg file into the non-working computer. Reboot before testing on the problem machine.

#2. Use Exctrlist to see if the perfmon counters have been blocked.

. download Extrlist:
. See how to use:
. for disk counters, see:
#3: Your virtual memory allocation must be at least 300mb minimum for perfmon statistics to appear. Check your virtual memory settings. If you have manually assigned Min or Max values, revert to letting Windows assign virtual memory.
 
. the MSCONFIG Expand button does work, albeit it is not as clear as it could be

. I really am trying to help. I want to avoid a reinstallation of XP, so you are going to have to try several things to resolve this problem. At the moment I have had you rebuild the WMI service, and replace the counter files.

There are several other things that may be of issue:

. From my original link above, there could well be a registry issue: Quoting from an earlier KB article - :

The Performance Monitor object and counter names are stored in the "Counters" in this Registry Key: HKEY_LOCAL_MACHINE
\Software
\Microsoft
\WindowsNT
\CurrentVersion
\Perflib
\<LangID> (LangID 009 = U.S. English)

If the list of objects and counters available to chart in Performance Monitor is incomplete or blank, it may be because Perflib subkeys other than the 009 subkey exist. Performance Monitor only uses the contents of one <LangID> subkey. Additional subkeys under the Perflib subkey are created when the Language setting in Control Panel is modified.

Your choices are:

#1 Examine the registry key

. if other than the 009 key exists, remove all but the 009 key
. Or, export from a working computer the entire registry key, and Import the resulting .reg file into the non-working computer. Reboot before testing on the problem machine.

#2. Use Exctrlist to see if the perfmon counters have been blocked.

. download Extrlist:
. See how to use:
. for disk counters, see:
#3: Your virtual memory allocation must be at least 300mb minimum for perfmon statistics to appear. Check your virtual memory settings. If you have manually assigned Min or Max values, revert to letting Windows assign virtual memory.

#4: Related to #3, the "System" account needs full priviilges on the root of your virtual memory pagefile.sys root volume. If you or something else has removed System priviliges to the root of the pagefile.sys filestore, you will have issues.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top