Solaris Common Desktop Environment: User's Guide

Logging Samples and Choosing the Sample Interval

By default, Performance Meter samples the activity on the workstation every 2 seconds, and creates a log file containing details of the initial sample only. You can change this sample interval and choose to continually add the sample information to a log file.

To Save Sample Information to a Log File

  1. Choose Setup from the Options menu.

    Performance Meter displays the Setup dialog box.

  2. Select the Log Samples In checkbox.

  3. Type the name of your log file in the Log Samples In text box.

    Use a descriptive name such as the default samples, or if you are monitoring multiple hosts from your workstation: samples_hostname.

    The default location is your home folder, such as /home/fredj/samples.

  4. Click Apply to make your changes take effect.

    Performance Meter creates the specified log file (a text file) if it doesn't exist. Performance Meter continues to append sample details for each sample until you exit Performance Meter. The next time you run Performance Meter, the Log Samples In checkbox will be unselected.

To Change the Sample Interval

  1. Choose Setup from the Options menu.

    Performance Meter displays the Setup dialog box.

  2. Specify a new sample interval in the Sample Every selector.

    The number you specify must be a whole number between 1 and 9 (inclusive). If you are viewing performance on-screen, a low interval such as 3 seconds may be appropriate; if you are logging samples to a log file, a higher interval is useful for restricting the size of your log file.

  3. Click Apply to make your changes take effect.

    Performance Meter samples at the specified rate for this and all future sessions, until you change the value in the Sample Every selector again.