Saturday, March 29, 2008

Storing data to a log file

Overview
You can save all data reported by the Tivoli Performance Viewer in a log file and write the data in binary format (serialized Java objects) or XML format.
To start recording data:
1. Click Logging > On or click the Logging icon.
2. Specify the name, location, and format type of the log file in the Save dialog box. The Files of type field allows an extension of *.perf for binary files or *.xml for XML format.
Note: The *.perf files may not be compatible between fix levels.
3. Click OK.

What to do next
To stop logging, click Logging > Off or click the Logging icon.














Replaying a performance data log file

Overview
You can replay both binary and XML logs by using the Tivoli Performance Viewer.

Overview
To replay a log file, do the following:
1. Click Data Collection in the navigation tree.
2. Click the Log radio button in the Performance data from field.
3. Click Browse to locate the file that you want to replay or type the file path name in the Log field.
4. Click Apply.
5. Play the log by using the Play icon or click Setting > Log Replay > Play.

Results
By default, the data replays at the same rate it was collected or written to the log. You can choose Fast Forward mode in which the log replays without simulating the refresh interval. To Fast Forward, use the button in the tool bar or click Setting > Log Replay > FF.
To rewind a log file, click Setting > Log Replay > Rewind or use the Rewind icon in the toolbar.
While replaying the log, you can choose different groups to view by selecting them in the Resource Selection pane. You can also view the data in either of the views available in the tabbed Data Monitoring panel.
You can stop and resume the log at any point. However, you cannot replay data in reverse.

No comments: