Le 2010-05-24 à 06:21, Mathieu Baudier a écrit : >> linux box. So currently when i have these procs running on my box they >> show up as "java" in the ps -A command. I dont know for sure as to which > > if you can use the 'f' option in your ps command, you will get the > arguments used to start the JVM. This may provide you with enough > information to distinguish between them them > > e.g.: ps -Af | grep java > >> identify them properly can i have it running as java_1 or java_2 or > > as far as I know, it is not (easily) possible > > You could give a try to the jconsole tool which comes with the JDK (in > package java-1.6.0-openjdk-devel), it allows you to monitor Java > processes precisely (either local or remote via JMX). +1 for JMX, and someone wrote a Nagios plugin that use JMX to monitor some parts of Java processes : http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx/details