spark

spark

26M Downloads

CPU Utilization Doesn't Work

AabegR opened this issue ยท 1 comments

commented

Hello there, the CPU Utilization placeholder doesn't work on my server machine, but it does on my regular pc. Odd.

I even copied the same files from the non-working server onto my pc, and it works right away, and vice versa - working server to non-working.

It's stuck at 0 percent CPU use, but that's kind of not possible...
Everything else works 10/10. I really appreciate this plugin probably something is wrong on my end.
Hewp

commented

For whatever reason, the Java VM and corresponding accessor methods are not able to retrieve the CPU usage info.

We use the OperatingSystem management factory bean:

/** The object name of the com.sun.management.OperatingSystemMXBean */
private static final String OPERATING_SYSTEM_BEAN = "java.lang:type=OperatingSystem";

There's nothing spark can do to fix this unfortunately, and I don't really have any ideas of things to try either, sorry!