When working with the Java platform, you typically program with the standard java.* and javax.* libraries. However, those aren’t the only things that are provided for you with Sun’s Java Development ...
#!/usr/bin/env groovy // getJvmDetails.groovy // // Main script for extracting JVM details via Attach API and JMX. // Accepts single parameter which is the process ID (pid) of the Java application // ...