#!/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 // ...
For most Groovy scripts I use, I simply run the script from its Groovy source code as-is and allow the compilation to take place implicitly. However, it can be helpful at times to use groovyc to ...