Loading... (original) (raw)

Issue

JDK-8179498

resolved the problem of connecting to a Java process running inside of Docker containers but an issue still remains when trying to run jcmd -l to list all Java processes running on a Linux system.

The problem stems from the fact that jcmd -l looks in /tmp to locate running java processes. Since /tmp inside of a container is not directly visible to the host, these processes are not located.

A potential solution is to look in /proc/*/root/tmp for the hsperf* files.