Class LinuxVirtualMachine
java.lang.Object
com.sun.tools.attach.VirtualMachine
sun.tools.attach.HotSpotVirtualMachine
sun.tools.attach.LinuxVirtualMachine
-
Constructor Summary
ConstructorsConstructorDescriptionLinuxVirtualMachine(AttachProvider provider, String vmid) Attaches to the target VM -
Method Summary
Methods inherited from class HotSpotVirtualMachine
dumpHeap, executeJCmd, getAgentProperties, getSystemProperties, heapHisto, loadAgent, loadAgentLibrary, loadAgentPath, localDataDump, printFlag, remoteDataDump, setFlagMethods inherited from class VirtualMachine
attach, attach, equals, hashCode, id, list, loadAgent, loadAgentLibrary, loadAgentPath, provider, toString
-
Constructor Details
-
LinuxVirtualMachine
public LinuxVirtualMachine(AttachProvider provider, String vmid) throws AttachNotSupportedException, IOException Attaches to the target VM
-
-
Method Details
-
detach
Detach from the target VM- Specified by:
detachin classVirtualMachine- Throws:
IOException- If an I/O error occurs
-