If you know in advance
that you want to capture information for an entire application session,
you can run the JVM agent monitor_batch option when
you start the application. See JVM agent option monitor_batch[:file=filename].
When you save information using the monitor_batch option, the information is captured from the start of the application
session in a file on the managed node. To stop capturing information,
stop your application. For more information, see monitor_batch[:file=filename].