ajermakovics / jvm-mon

Console-based JVM monitoring tool
https://ajermakovics.github.io/jvm-mon/
Other
1.48k stars 117 forks source link

Display Java processes being run by other users on a box #7

Closed tom-smalls closed 7 years ago

tom-smalls commented 7 years ago

I like the idea of jvm-mon, but it would be really useful if it displayed/monitored all the java processes running on a box (irrespective of user). If I run jvm-mon as root on my machine (Fedora 23) I would expect to be able to see all java processes running (they are available via jps), but this isn't the case.

ajermakovics commented 7 years ago

Interesting. Tried it on ubuntu but it did show jvms from normal users. Not sure what determines this... are all of them using the same jre/jdk?

That reminds me that the processes table should show the owning user.

tom-smalls commented 7 years ago

Using the same JVM, I do not see the same processes when running as the user that owns our various Java processes as when I am as root

tom-smalls commented 7 years ago

Should add I am using jdk 1.8.0_74

ajermakovics commented 7 years ago

Couldn't reproduce this locally but it looks like an open issue https://github.com/patric-r/jvmtop/issues/93

tom-smalls commented 7 years ago

I guess this comes down to a "can't fix" based on that issue you referenced (sorry not not getting back straight away)