The graph-tool Configure menu and the Configuration dialog box

The Configure menu contains options of opening, editing, and saving onperf configuration information.

The Configure menu provides the following options.

Edit Configuration
Brings up the Configuration dialog box, which allows you to change the settings for the current data-collector buffer, graph-tool display options, and data-collector options. The Configuration dialog box appears in The Configuration dialog box.
Open Configuration
Restarts onperf with the settings that are stored in the configuration file. Unsaved data in the data-collector buffer is lost. If no configuration file is specified and the default does not exist, the following error message appears:
Open file filename failed.

If the specified configuration file does not exist, onperf prompts for one.

Save Configuration
Saves the current configuration to a file. If no configuration file is currently specified, onperf prompts for one.
Save Configuration As
Saves a configuration file. This option always prompts for a filename.
To configure data-collector options, graph-display options, and metrics about which to collect data, choose the Edit Configuration option to bring up the Configuration dialog box.
Figure 1: The Configuration dialog box

This figure is described in the surrounding text.

The Configuration dialog box provides the following options for configuring display.

Option
Use
History Buffer Configuration
Allows you to select a metric class and metric scope to include in the data-collector buffer. The data collector gathers information about all metrics that belong to the indicated class and scope.
Graph Display Options
Allows you to adjust the size of the graph portion that scrolls off to the left when the display reaches the right edge, the initial time interval that the graph is to span, and the frequency with which the display is updated.
Data Collector Options
Controls the collection of data. The sample interval indicates the amount of time to wait between recorded samples. The history depth indicates the number of samples to retain in the data-collector buffer. The save mode indicates the data-collector data should be saved in binary or ASCII format.