3.7  Summary of Events

You can use the CLI to view a summary of the events contained in a binary log file. To do so with the new common syntax, use the following command format:

wsea sum [index] [input inputfile] [out | outhtml outputfile] [filterstatement]

Note


Section 5.8 describes circumstances that can cause unexpected summary output.


For information on generating a summary with another syntax, refer to Appendix E.

Indexed Output

By default, a tallied list of all the events in the binary event log files is generated. However, you can generate an indexed list of all the events using the index modifier.

Be aware if you are using the new common syntax sum command and you want to generate indexed output, the index parameter must immediately follow the sum command verb. Otherwise, SEA will assume you are using the index filter keyword.

Input Files

By default, the summary command processes the system event log. If you want to process a different binary log file, you must use the input keyword and specify the input file. Refer to Section 3.9.1 for more information on input files

Output Files

By default, output from the summary command is displayed on the screen. To save output to a file, use either the out or the outhtml keyword and provide a file name. Refer to Section 3.9.2 for more information on output files.

Filtering Log Files

You can specify the events from a binary event log file that you want to view a summary report for by defining a filter. For more information on filtering refer to Section 3.9.3.

Example Output

The results of the summary command are displayed in the command prompt window.

An example of the standard, tallied output is shown here:

== /usr/opt/hp/svctools/common/ca/examples/gs320-unix-dir-620.errlog ==
  Qty   Type Description
----- ------ --------------------------------------------------------
    2    120 Correctable Error Throttling Notification Event Detected
    2    301 Tru64 UNIX Shutdown ASCII Message
    2    620 Correctable System Event
    2    300 Tru64 UNIX Start-up ASCII Message
    1    310 Tru64 UNIX Time Stamp Message
    2    199 Tru64 UNIX CAM Event
    3    110 Configuration Event
Total Entry Count: 14
First Entry Date: Mar 21, 2000 8:12:25 AM GMT-05:00
Last Entry Date: Mar 21, 2000 9:15:44 AM GMT-05:00

An example of the indexed output is shown here:

== /usr/opt/hp/svctools/common/ca/examples/gs320-unix-dir-620.errlog ==
Index Type Description                                Date/Time
----- ---- ------------------------------------------ -------------------
    1  110 Configuration Event                        03/21/00 08:12:25 AM
    2  310 Tru64 UNIX Time Stamp Message              03/21/00 08:22:25 AM
    3  301 Tru64 UNIX Shutdown ASCII Message          03/21/00 08:31:21 AM
    4  110 Configuration Event                        03/21/00 09:07:15 AM
    5  300 Tru64 UNIX Start-up ASCII Message          03/21/00 09:07:16 AM
    6  120 Correctable Error Throttling Notification Event Detected 03/21/00 09:07:32 AM
    7  199 Tru64 UNIX CAM Event                       03/21/00 09:07:42 AM
    8  301 Tru64 UNIX Shutdown ASCII Message          03/21/00 09:08:41 AM
    9  110 Configuration Event                        03/21/00 09:11:16 AM
   10  300 Tru64 UNIX Start-up ASCII Message          03/21/00 09:11:17 AM
   11  120 Correctable Error Throttling Notification Event Detected 03/21/00 09:11:33 AM
   12  199 Tru64 UNIX CAM Event                       03/21/00 09:11:43 AM
   13  620 Correctable System Event                   03/21/00 09:15:41 AM
   14  620 Correctable System Event                   03/21/00 09:15:44 AM