-
Bug
-
Resolution: Fixed
-
P4
-
16, 17
-
None
-
b18
-
linux
I got -1.0 from both CpuLoad and SystemCpuLoad in OperatingSystem MXBean when I run the application on Fedora 33 x64 which is installed cgroups V2. Please see the attached image which I captured JConsole.
I do not run the application in the container, nor do not run with resource limitation on cgroups, so JMX should report CPU load on host value in this case.
I do not run the application in the container, nor do not run with resource limitation on cgroups, so JMX should report CPU load on host value in this case.
- duplicates
-
JDK-8294512 The OperatingSystemMXBean.getProcessCpuLoad returns with -1
-
- Closed
-