Want to have something that lists java VMs running on the system and which programs these are hosting. In particular which tomcat is using which java version. IS there any command line tool that I can use on debian like systems?
For tomcat specifically I've found :
ps uax | grep tomcat
which gives the full command line that includes path to the java vm used, however is there a more java oriented way of getting a comprehensive listing?