VMS Help ANALYZE, /ERROR_LOG, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
1. $ ANALYZE/ERROR_LOG/BEFORE=19-APR-2000:10:00 ERRLOG.OLD;5 In this example, the error log report generated for ERRLOG.OLD;5 contains entries that were logged before 10:00 a.m on April 19, 2000. 2. $ ANALYZE/ERROR_LOG/INCLUDE=DBA1/BINARY=DBA1_ERR.DAT ERRLOG.OLD;5 In this example, the output file DBA1_ERR.DAT contains image copies of the entries that apply to DBA1. 3. $ ANALYZE/ERROR_LOG/BRIEF ERRLOG.OLD;97 In this example, the error log report generated from ERRLOG.OLD;97 contains minimal information. 4. $ ANALYZE/ERROR_LOG/ENTRY=(START:1,END:18) ERRLOG.SYS In this example, the entry range for the error log report generated from file ERRLOG.SYS is limited to entry numbers 1 through 18. 5. $ ANALYZE/ERROR_LOG/EXCLUDE=MTA0 In this example, the error log entries for the device MTA0 are excluded from the error log report for the file ERRLOG.SYS. 6. $ ANALYZE/ERROR_LOG/EXCLUDE=(MTA0,DRA5) ERRLOG.OLD In this example, the devices MTA0 and DRA5 are excluded from the error log report for the file ERRLOG.OLD. 7. $ ANALYZE/ERROR_LOG/EXCLUDE=TAPES/INCLUDE=MTA0 In this example, the device MTA0 is included in the error log report for the file ERRLOG.SYS. All other magnetic tape devices are excluded from the report. 8. $ ANALYZE/ERROR_LOG/INCLUDE=(DISK,VOLUME_CHANGES, -) _$ DEVICE_ERROR,BUGCHECK In this example, the report consists of error log entries for volume and device error information on disks, and bugcheck errors. These entries are in the default error log file ERRLOG.SYS. 9. $ ANALYZE/ERROR_LOG/MODEL=415 ERRLOG.SYS In this example, the output consists of only those entries that were logged for the system with a model type of 00000415 (hexadecimal). 10. $ ANALYZE/ERROR_LOG/NODE=(ORANGE,NASSAU) - _$ SYS$SYSROOT:[SYS*.SYSERR]ERRLOG.SYS In this example, the OpenVMS Cluster system consists of members BROOME, NASSAU, ORANGE, and PUTNAM. The output contains only those entries that were logged for nodes NASSAU and ORANGE. 11. $ ANALYZE/ERROR_LOG/INCLUDE=DB/REGISTER_DUMP ERRLOG.OLD;72 In this example, the output is in the format of a REGISTER_DUMP report containing entries that apply only to the DB device. 12. $ ANALYZE/ERROR_LOG/INCLUDE=MTA0 - _$ /REJECTED=REAL_ERRS.DAT ERRLOG.OLD;5 In this example, the output file REAL_ERRS.DAT contains image copies of all entries from ERRLOG.OLD;5, with the exception of those entries that apply to the MTA0 device. 13. $ ANALYZE/ERROR_LOG/SID_REGISTER=02006148 ERRLOG.OLD;72 The /SID_REGISTER qualifier is for VAX only. In this example, the output consists of only those entries that were logged for the system with an ID of 02006148 (hexadecimal). 14. $ ANALYZE/ERROR_LOG/STATISTICS ERRLOG.OLD;4 In this example, the output generated by this command consists of a full report of all entries in ERRLOG.OLD;4 and the run-time statistics for the execution of the command. 15. $ ANALYZE/ERROR_LOG/INCLUDE=DBA4/NOFULL/SUMMARY ERRLOG.OLD;5 The /SUMMARY qualifier is for VAX only. The output generated by the command in this example includes the summary report. The report contains the entries that apply to the DBA4 device: device error, device timeout, and device attention.
|