Package com.sun.enterprise.universal.process
package com.sun.enterprise.universal.process
-
ClassDescriptionVery simple initial implementation If it is useful there are plenty of improvements that can be made...Run a native process with jps -- get the pid for a running JVM note: dropping in an implementation for jps is not hard.Provide a Jstack getDump of a given PID -- or a concatenated getDump of ALL running JVMs.Very simple -- run an Asadmin command.If you don't drain a process' stdout and stderr it will cause a deadlock after a few hundred bytes of output.Includes a somewhat kludgy way to get the pid for "me".