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]
Section 5.8 describes circumstances that can cause unexpected summary output.
For information on generating a summary with another syntax, refer to Appendix E.
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.
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
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.
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.
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 Detected2 301 Tru64 UNIX Shutdown ASCII Message2 620 Correctable System Event2 300 Tru64 UNIX Start-up ASCII Message1 310 Tru64 UNIX Time Stamp Message2 199 Tru64 UNIX CAM Event3 110 Configuration EventTotal Entry Count: 14First Entry Date: Mar 21, 2000 8:12:25 AM GMT-05:00Last Entry Date: Mar 21, 2000 9:15:44 AM GMT-05:00An 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 AM2 310 Tru64 UNIX Time Stamp Message 03/21/00 08:22:25 AM3 301 Tru64 UNIX Shutdown ASCII Message 03/21/00 08:31:21 AM4 110 Configuration Event 03/21/00 09:07:15 AM5 300 Tru64 UNIX Start-up ASCII Message 03/21/00 09:07:16 AM6 120 Correctable Error Throttling Notification Event Detected 03/21/00 09:07:32 AM7 199 Tru64 UNIX CAM Event 03/21/00 09:07:42 AM8 301 Tru64 UNIX Shutdown ASCII Message 03/21/00 09:08:41 AM9 110 Configuration Event 03/21/00 09:11:16 AM10 300 Tru64 UNIX Start-up ASCII Message 03/21/00 09:11:17 AM11 120 Correctable Error Throttling Notification Event Detected 03/21/00 09:11:33 AM12 199 Tru64 UNIX CAM Event 03/21/00 09:11:43 AM13 620 Correctable System Event 03/21/00 09:15:41 AM14 620 Correctable System Event 03/21/00 09:15:44 AM