14.6 Examples

This section presents examples of using the statistics analysis utility.

Example 1
This example reads information in input statistics unload files and edits all statistical information. It outputs the information to a DAT-format file.
Overview
[Figure]
Command execution

pdstedit -k all   ......................1
         -i /usr/unfile   ..............2
         -o /usr/datfile   .............3

Explanation
  1. Specifies that all statistical information is to be edited.
  2. Name of the directory containing the input statistics unload files: /usr/unfile
  3. Name of the DAT-format file storage directory for storing the statistical information: /usr/datfile
Example 2
This example inputs the files listed below that can be referenced from the host executing pdstedit and then edits the statistical information. It also outputs the information to a DAT-format file.
  • Multiple unload statistics log files and unload log files placed under a single directory
  • System log files that have not been unloaded
Overview
[Figure]
Command execution

pdstedit -k all   ..........................1
         -i /usr/unfile   ..................2
         -d /usr/ctl_file   ................3
         -o /usr/datfile   .................4

Explanation
  1. Specifies that all statistical information is to be edited.
  2. Name of the directory containing the input statistics unload files: /usr/unfile
  3. Name of the control statement file: /usr/ctl_file
  4. Name of the DAT-format file storage directory for storing the statistical information: /usr/datfile
Contents of the control statement file (/usr/ctl_file)

file_group bes1:logfg01,logfg02
file_group bes2:logfg01,logfg02

Explanation
bes1 and bes2:
Names of the servers corresponding to the specified file groups
logfg01 and logfg02:
Names of the file groups that contain the system log files to be analyzed