CPUUSAGE on 3.10

Forums Desktop Info CPUUSAGE on 3.10

Viewing 2 reply threads
  • Author
    Posts
    • #5766
      gotgot
      Participant

        Desktop Info v 3.10.0 / Win11 21H2 / core i5-10310U / Dell Lattitude 5510

        Migrating from 2.11 to 3.10, CPUUSAGE does no longer show any graphs but only “<n/a>”

        Manual says: This item requires the Processor performance counter. If this counter is not available, the item returns no results.

        How to find out if Processor performance counter is available …. or is this a bug?

        Tried with….
        CPUUSAGE=interval:1,row-text:Cpu %1,chart:bar scale:linear max:100 series1:2 row-id:1 threshold:50,display:%2[2.0d]% %chart%

        … and with this line from provided desktopinfo-advanced.ini
        CPUUSAGE=interval:1,row-text:Cpu %1,chart:line max:100 series1:2 color1:00ff00 row-id:1,alarms:(%2 ge 80 0000f0),display:%2[2.0d]% %chart%

      • #5770
        GlennGlenn
        Keymaster

          Why do the CPUCOUNT and CPUUSAGE items not work?

          Both of these items obtain information from the Windows “Processor” performance counter. If that performance counter is not present on your system, these items will not work. I am yet to determine why these counters are missing. I’ve read of some C++ runtime library installations trashing the counters. It’s feasible you may have some lean and mean Windows installation that has many counters disabled for performance reasons.

          You can test if these counters are installed by running the Windows Performance Monitor tool:

          1. Run perfmon.exe
          2. Select the Performance Monitor node on the tree.
          3. In the chart window on the right, right click and select Add Counters.
          4. In the list on the left, find and select the Processor category.
          5. If this category is missing, the Processor performance counters are not installed.
          6. If the category is present you will see entries in the list view below for “Total”, “” and several numbers representing the cpu cores on the system. If any of these entries are missing, the performance counters are most likely corrupt.

          I’ll leave it as an exercise for you to figure out how to install or rebuild these performance counters.

        • #5784
          gotgot
          Participant

            > the category is present …
            It is
            > … you will see entries in the list view below for “Total”, “” and several numbers
            > representing the cpu cores on the system. If any of these entries are missing,
            > the performance counters are most likely corrupt.

            They are available, I can add them and they will be shown properl on the resulting diagram.

            Tried same DesktopInfo version with same ini file on a different PC and there the CPU cores are showing up correctly. Seems that there is something wrong with the PC.
            I compared available entries in Processor category on Perfmon.exe of both PCs and did not find any differences.

            Will see if I can find out what’s wrong here. It is a company owned PC with some security softwar installed, so there is a good chance that something is preventing DesktopInfo from retrieving this data (on me personal PC it works)

            • #5789
              GlennGlenn
              Keymaster

                try running it as Admin..

          Viewing 2 reply threads
          • You must be logged in to reply to this topic.
          Glenn's Page