Developing Apama Applications > Using Apama Studio > Profiling EPL Applications > Taking snapshots
Taking snapshots
You can capture profiling data at any moment in time by taking snapshots. You can then compare current profiling data to the data represented in a snapshot. To take a snapshot:
1. In the Execution Statistics view, click the Take Snapshot button []. The Create Snapshot dialog is displayed.
2. Enter a meaningful name in the Snapshot Name field.
3. Specify the source of the data you want to use to create the snapshot as follows:
*To populate the snapshot with data that the correlator captures at this point in time, select Current correlator.
*To populate the snapshot with data that has previously been stored on disk in a .csv file select Select from file. This data would typically be collected using the engine_management tool as, for example
engine_management -r "profiling get" > myfile.csv
Note, however to be used this way, the .csv file must have been generated using Apama release 5.0.1 or later.
For more information on the engine_management utility, see Shutting down and managing components in Deploying and Managing Apama Applications.
4. Click OK.
In the Comparison of Execution Statistics tab the baseline columns (labelled "Old") display the data captured in the snapshot and the columns labelled "Diff" are similarly updated to compare the current information with that captured in the snapshot. For more information on managing snapshots, see Using snapshots.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.