getVirtualMachineInfo
Method
Purpose
This method returns details of the Java virtual machine processes started by the same user on the local machine by the Java virtual machine process name. If the process name argument is blank then the method discovers all Java virtual machine(s) and returns the details of each Java virtual machine. If provided, the Process name argument serves as a regular expression used to filter the Java virtual machines returned.
Type
Open, Synchronous, IMPACT_INFO
Arguments
Name |
Type |
Description |
Process Name |
String |
|
Returns
Name |
Type |
Description |
Process Id |
String |
JAVA Process Id |
Name |
String |
The name representing the running Java Virtual Machine |
Up Time |
Long |
The uptime of the Java Virtual Machine in milliseconds |
Start Time |
Long |
The start time of the Java Virtual Machine in milliseconds |
Process CPU Time |
Integer |
The CPU time used by the process on which the Java Virtual Machine is running |
Current Heap Size |
Long |
The size of used memory in bytes |
Committed Memory |
Long |
The size of memory in bytes that is committed for the Java Virtual Machine to use |
Maximum Heap Size |
Long |
The maximum size of memory in bytes that can be used for memory management |
Free Heap Size |
Long |
The amount of free memory in bytes |
Non Heap Memory Used |
Long |
The amount of used non heap memory in bytes |
Live Threads |
Integer |
The current number of live threads including both daemon and non-daemon threads |
Peak Threads |
Integer |
The peak live thread count since the Java Virtual Machine was started or peak was reset |
Daemon Threads |
Integer |
The current number of live daemon threads |
Total Threads Started |
Long |
The total number of threads created and started since the start of Java Virtual Machine |
Current classes loaded |
Integer |
The number of classes currently loaded into Java Virtual Machine |
Total classes loaded |
Long |
The total number of classes loaded since the start of Java Virtual Machine execution |
Total classes unloaded |
Long |
The total number of classes unloaded since the start of Java Virtual Machine execution |
Virtual Machine Name |
String |
The Java Virtual Machine implementation name |
Virtual Machine Vendor |
String |
The Java Virtual Machine implementation vendor |
Virtual Machine Version |
String |
The Java Virtual Machine implementation version |
Command Line |
String |
The command used to launch Java Virtual Machine process |