I tried to run JConsole to analyze the memory used by a running process, but JConsole doesn\'t show me processes even though I am absolutely sure that one is running (in additio
8 years later... I had the same problem. I could only see certain processes but couldn't see and monitor any java processes running in a docker container in Linux.
Inspired by the Windows solution by RoyalBigMack:
su
command) and run jconsole
sudo jconsole
Only the first solution worked for me, and once the jconsole UI popped up- all the hidden processes were now visible.