Perfmon counters only give data when perfmon is on

Posted on 2011-05-11
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

    Did you try forcing the performance counters activation using "DiskPerf -Y" ?
    LVL 6

    Author Closing Comment

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

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Join & Write a Comment

    Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
    This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now