Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Perfmon counters only give data when perfmon is on

Posted on 2011-05-11
Medium Priority
Last Modified: 2012-08-13
Hi Experts,

I have a weird issue. I've got a tool that takes perfmon counter data directly through .NET, it monitors many things, memory usage, cpu, disk idle, disk space, etc.

It transmits this data to another server, which all works fine, except for one; disk idle time %

When I'm not logged in to the server that is being monitored, it transmits disk idle time 0% for two physical disks, and 100% for on physical disk (there are 3 disks in total).

If I log in to the server and start perfmon myself, I can see all disks are at idle time 100%, the moment I start perfmon, my tool suddenly also sees 100%. When I close perfmon it sees 0% again for the last two disks, and actual data for the first. Since this is taken directly from .NET, it kinda has to be a windows quirk...does anyone have a clue? All other perfomance counters work fine. Rebooting the server gives 100% for all three disks for a few minutes, then it goes back to only giving correct data for the first disk.
Question by:Azhrei1
LVL 18

Accepted Solution

BigSchmuh earned 2000 total points
ID: 36129312
Did you try forcing the performance counters activation using "DiskPerf -Y" ?

Author Closing Comment

ID: 36129358
I didn't, but it worked and fixed the issue, thanks!

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question