Hi, not sure this is the correct forum, but the UNIX forum seems to be more about UNIX than
Java.
Does anyone know of a way to identify the classes running on a java VM within UNIX? 'ps' only shows the 'java' process. 'ps -f' shows a certain amount fo the actual command line used to run the JVM, but in most cases, the first arg is the classpath, so you don't get to see the actual class or jar that is being run (i.e. the class containing main).
Is there a way to query the JVM to get the main class? Possibly a 'jps'