From the manual: http://www.jvmmonitor.org/doc/#How_to_monitor_app_that_runs_for_short_time
How can I monitor my application that runs only for very short time?
To monitor the application that runs for so short time that you cannot connect JVM Monitor,
Set a break point at point of interest, and run your application with debug mode.
Connect JVM Monitor to the application while stopped at break point.
Collect profiling data with JVM Monitor.Note: If your application is started from outside Eclipse, you may specify the following option for your application to suspend until debugger is attached.
-agentlib:jdwp=transport=dt_socket,address=<port number>,server=y,suspend=y