Save This Page
Home » openjdk-7 » sun.tools » attach » [javadoc | source]
sun.tools.attach
public class: LinuxVirtualMachine [javadoc | source]
java.lang.Object
   com.sun.tools.attach.VirtualMachine
      sun.tools.attach.HotSpotVirtualMachine
         sun.tools.attach.LinuxVirtualMachine
Field Summary
static  boolean isLinuxThreads     
 String path     
Constructor:
 LinuxVirtualMachine(AttachProvider provider,
    String vmid) throws AttachNotSupportedException, IOException 
    Attaches to the target VM
Method from sun.tools.attach.LinuxVirtualMachine Summary:
checkPermissions,   close,   connect,   detach,   execute,   getLinuxThreadsManager,   isLinuxThreads,   read,   sendQuitTo,   sendQuitToChildrenOf,   socket,   write
Methods from sun.tools.attach.HotSpotVirtualMachine:
attachTimeout,   dumpHeap,   execute,   getAgentProperties,   getSystemProperties,   heapHisto,   loadAgent,   loadAgentLibrary,   loadAgentPath,   localDataDump,   printFlag,   readInt,   remoteDataDump,   setFlag
Methods from com.sun.tools.attach.VirtualMachine:
attach,   attach,   detach,   equals,   getAgentProperties,   getSystemProperties,   hashCode,   id,   list,   loadAgent,   loadAgent,   loadAgentLibrary,   loadAgentLibrary,   loadAgentPath,   loadAgentPath,   provider,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.tools.attach.LinuxVirtualMachine Detail:
 static native  void checkPermissions(String path) throws IOException
 static native  void close(int fd) throws IOException
 static native  void connect(int fd,
    String path) throws IOException
 public  void detach() throws IOException 
    Detach from the target VM
 InputStream execute(String cmd,
    Object args) throws AgentLoadException, IOException 
    Execute the given command in the target VM.
 static native int getLinuxThreadsManager(int pid) throws IOException
 static native boolean isLinuxThreads()
 static native int read(int fd,
    byte[] buf,
    int off,
    int bufLen) throws IOException
 static native  void sendQuitTo(int pid) throws IOException
 static native  void sendQuitToChildrenOf(int pid) throws IOException
 static native int socket() throws IOException
 static native  void write(int fd,
    byte[] buf,
    int off,
    int bufLen) throws IOException