No CPU data present on Windows

If you do not see CPU data from an application that is running on the Windows operating system, the Windows performance counters might be disabled or corrupted.

For Node.js applications, if CPU data cannot be obtained by the agent, the following message appears in the log file:
[cpu] At least one data gathering failure occurred
The failure might be caused by disabled or corrupt Windows counters.

Ensure that Windows counters are enabled: run the lodctr /q command to query the counters, then look for [PerfOS] in the output. If the PerfOS counters are disabled, enable them by running the lodctr /e:counter_name command, specifying PerfOS as the counter name.

If the counters are enabled but CPU data is still not present, try rebuilding the counters by using the lodctr /r command.





© Copyright IBM Corporation 2007, 2015.
© Copyright 1997, 2015, Oracle and/or its affiliates.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.