Forum for WMI problem that is not language-specific? RRS feed

  • Question

  • The designated WMI forum is defunct, with no activity since 2006. Where might I get a knowledgable answer to this under-the-hood WMI question? It's not a coding question: My Perl code works but the results are inaccurate. Thanks.

    I am trying to use WMI to get Task Manager type snapshots of CPU usage for each process. The results do not at all match what the actual Task Manager shows: Most processes are left out and the WMI provider itself is shown using much or most of the CPU. Any other process that is shown is reported with CPU usage either matching that shown for the WMI process or exactly half that value. Something is just not right.

    I've tried both the object/method approach and the WQL approach with similar results, using the Perl Win32_OLE package and the WMI Win32_PerfFormattedData_PerfProc_Process class.

    The client workstation is Windows XP SP3 and the target is Windows Server 2003 SP2. Thanks for any suggestions.

    <Code example goes here>

    Friday, October 8, 2010 8:03 PM