Details
-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
None
Description
JMC should report CPU utilization for Java process running inside a Docker container based on the CPU quote set to the container. Currently the usage is reported based on the total number of CPUs the host machine has.
For example, in case if the host machine has 8 CPUs and the Java process that fully utilizes CPUs and runs inside a Docker container with CPU quote set to 2 CPUs ( --cpus="2"), the CPU usage reported by JMC connected to this process is 25% . The expected CPU usage reported by JMC should be 100%, since the process consumes all CPU resources available for the Docker container it runs in.
Attachments
Issue Links
- duplicates
-
JMC-5901 Utilize information from the host/container
- Open
- is blocked by
-
JDK-8182070 Container Awareness
- Closed