| Modifier and Type | Field and Description |
|---|---|
| private static int | |
| private static int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: String - contains the command line of the target Java application or the string "Unknown" if the command line cannot be determined.the target MonitoredVm vm)Return the command line for the target Java application. |
| public static boolean | |
| public static String | Returns: String - contains the arguments passed to the JVM for the target Java application or the string "Unknown" if the command line cannot be determined.the target MonitoredVm vm)Return the JVM arguments for the target Java application. |
| public static String | Returns: String - contains the flags passed to the JVM for the target Java application or the string "Unknown" if the command line cannot be determined.the target MonitoredVm vm)Return the JVM flags for the target Java application. |
| public static String | Returns: String - contains the arguments to the main class for the target Java application or the string "Unknown" if the command line cannot be determined.the target MonitoredVm vm)Return the arguments to the main class for the target Java application. |
| public static String | Returns: String - contains the main class of the target Java application or the string "Unknown" if the command line cannot be determined.the target MonitoredVm vm, boolean include the full path to Jar file, where applicable fullPath)Return the main class for the target Java application. |
| public static String | Returns: String - contains the version of the target JVM or the the string "Unknown" if the version cannot be determined.the target MonitoredVm vm)Return the Java Virtual Machine Version. |
| IS_ATTACHABLE | back to summary |
|---|---|
| private static int IS_ATTACHABLE | |
| IS_KERNEL_VM | back to summary |
|---|---|
| private static int IS_KERNEL_VM | |
| MonitoredVmUtil | back to summary |
|---|---|
| private MonitoredVmUtil() Private constructor - prevent instantiation. | |
| commandLine | back to summary |
|---|---|
| public static String commandLine(MonitoredVm vm) throws MonitorException Return the command line for the target Java application.
| |
| isAttachable | back to summary |
|---|---|
| public static boolean isAttachable(MonitoredVm vm) throws MonitorException Returns true if the VM supports attach-on-demand.
| |
| jvmArgs | back to summary |
|---|---|
| public static String jvmArgs(MonitoredVm vm) throws MonitorException Return the JVM arguments for the target Java application.
| |
| jvmFlags | back to summary |
|---|---|
| public static String jvmFlags(MonitoredVm vm) throws MonitorException Return the JVM flags for the target Java application.
| |
| mainArgs | back to summary |
|---|---|
| public static String mainArgs(MonitoredVm vm) throws MonitorException Return the arguments to the main class for the target Java application. Returns the arguments to the main class. If the arguments can't be found, the string "Unknown" is returned.
| |
| mainClass | back to summary |
|---|---|
| public static String mainClass(MonitoredVm vm, boolean fullPath) throws MonitorException Return the main class for the target Java application. Returns the main class or the name of the jar file if the application was started with the -jar option.
| |
| vmVersion | back to summary |
|---|---|
| public static String vmVersion(MonitoredVm vm) throws MonitorException Return the Java Virtual Machine Version.
| |