|
Jvmstat | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsun.jvmstat.monitor.MonitoredVmUtil
public class MonitoredVmUtil
Utility class proving concenience methods for extracting various information from an MonitoredVm object.
Method Summary | |
---|---|
static String |
commandLine(MonitoredVm vm)
Return the command line for the target Java application. |
static boolean |
isAttachable(MonitoredVm vm)
Returns true if the VM supports attach-on-demand. |
static String |
jvmArgs(MonitoredVm vm)
Return the JVM arguments for the target Java application. |
static String |
jvmFlags(MonitoredVm vm)
Return the JVM flags for the target Java application. |
static String |
mainArgs(MonitoredVm vm)
Return the arguments to the main class for the target Java application. |
static String |
mainClass(MonitoredVm vm,
boolean fullPath)
Return the main class for the target Java application. |
static String |
vmVersion(MonitoredVm vm)
Return the Java Virtual Machine Version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String vmVersion(MonitoredVm vm) throws MonitorException
vm
- the target MonitoredVm
MonitorException
public static String commandLine(MonitoredVm vm) throws MonitorException
vm
- the target MonitoredVm
MonitorException
public static String mainArgs(MonitoredVm vm) throws MonitorException
vm
- the target MonitoredVm
MonitorException
public static String mainClass(MonitoredVm vm, boolean fullPath) throws MonitorException
vm
- the target MonitoredVmfullPath
- include the full path to Jar file, where applicable
MonitorException
public static String jvmArgs(MonitoredVm vm) throws MonitorException
vm
- the target MonitoredVm
MonitorException
public static String jvmFlags(MonitoredVm vm) throws MonitorException
vm
- the target MonitoredVm
MonitorException
public static boolean isAttachable(MonitoredVm vm) throws MonitorException
vm
- the target MonitoredVm
MonitorException
|
Jvmstat | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |