5.8  Summary of Events

The CLI can show you a summary of the events contained in a binary log file:

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

Correctable events are not shown. Section 7.8 tells how to interpret the summary and describes circumstances that can cause unexpected summary output.

To generate a summary with another syntax, see Appendix E.

Indexed Output

By default, SEA creates a tallied list of all the events in the binary event log files. However, you can generate an indexed list by adding the index parameter.

If you want indexed output, the index parameter must immediately follow the sum command verb. Otherwise, SEA assumes you are using an "index" filter keyword instead.

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. See Section 5.10.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. See Section 5.10.2 for more information on output files.

Filtering Log Files

You can identify a subset of 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 see Section 5.10.3.

Examples

Standard (tallied) output:

== /usr/opt/hp/svctools/common/ca/examples/gs320-unix-dir-620.errlog ==
  Qty   Type Description
----- ------ --------------------------------------------------------
    2    301 Tru64 UNIX Shutdown ASCII Message
    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
 

Indexed output:

== /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
    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
   12  199 Tru64 UNIX CAM Event                       03/21/00 09:11:43 AM