E.5 DECevent OpenVMS Syntax
DECevent OpenVMS syntax commands use the following format:
wsea v command_verb
- Where command_verb indicates the action you want to perform.
Table E–8 describes the commands supported by the DECevent OpenVMS syntax:
Table E–8 Command Verbs—wsea (DECevent OpenVMS syntax) Command Verb Description /ana Performs manual analysis one or more binary event logs. See Section E.5.1 for more details. /tra Translates one or more binary event logs, but does not analyze the events. See Section E.5.2 for more details. /sum Returns a summary of all the events contained in a binary event log. See Section E.5.3 for more details. /bin Applies a filter to an existing binary event log and creates a new binary event log containing the subset of events returned after filtering. See Section E.5.4 for more details. /help Displays a text-based help file. The text-file describes the new common syntax.E.5.1 Manual Analysis
To perform manual analysis with the DECevent OpenVMS syntax, use the following command:
wsea v /ana[/out=outputfile] [inputfile]
- outputfile—enter the path and name where you want the output saved. See Section E.5.5.2 for more details.
- inputfile—enter the path and name of a binary log file. See Section E.5.5.1 for more details.
E.5.2 Translation
To perform translation with the DECevent OpenVMS syntax, use the following command:
wsea v /tra[/out=outputfile][/brief | /full][filter flags] [inputfile]
- outputfile—specify the path and name where you want the output saved. See Section E.5.5.2 for more details.
- Select the desired report type using the /brief or /full modifier.
- filter flags—enter filter flags to limit the events translated. See Section E.5.5.3 for more details.
- inputfile—specify the path and name of a binary log file. See Section E.5.5.1 for more details.
E.5.3 Summary of Events
To view a summary of the events in a log file with the DECevent OpenVMS syntax use the following command:
wsea v /sum[filter flags] [inputfile]
- filter flags—enter filter flags to limit the events translated. See Section E.5.5.3 for more details.
- inputfile—provide the path and name of a binary log file. See Section E.5.5.1 for more details.
E.5.4 Creating New Binary Event Log Files
To create a new binary log file with the DECevent OpenVMS syntax use the following command:
wsea v /bin=outputfile[/filter_flags] [inputfile(s)]
- outputfile—provide the path and name of the new log file.
- filter flags—specify a filter to restrict the events added to the new log file. See Section E.5.5.3 for more information.
- inputfile—provide the path and name of the binary log file you want to filter to create a new log file. See Section E.5.5.1 for more details.
E.5.5 Modifying Commands
By default, the analysis, translation, summary and new binary log file commands all process the system event log. The output from analysis, translation and summary commands is displayed on the screen. You can change these defaults in order to process other binary log files and save the processing results to a file. With some of the commands you can further restrict the events that are processed by filtering the binary log file used for input. The following sections describe how to use these features.
E.5.5.1 Input Files
To change the input file used by a command, add the path and file name of the desired file to the end of the command.
wsea v /ana [.examples]ds20.errlogWhen you are specifying an input file, the following guidelines apply:
- Specifying an input file is optional. If you do not specify either a directory or a file, SEA processes the binary system event log.
- You can use the relative directory structure to specify input files.
- If you specify a directory but no file name, SEA processes all the files with a .errlog, .sys, .zpd, or .evt extension located in the provided directory.
- Multiple filenames can be specified by separating them with spaces.
- You can use wildcards to specify multiple files.
E.5.5.2 Output Files
These output file guidelines do not apply when you are creating a new binary event log. See Section E.5.4 for more details.
To specify an output file, use the following modifier:
/out=filename
- The modifier creates a text output file. The filename indicates the path and name where you want to save the output.
The following examples shows a command that specify output files:
wsea v /ana/out=results.txtE.5.5.3 Filtering
The /tra, /sum, and /bin commands enable you to filter a binary event log file and only process a subset of the events. You can include multiple filter statements by using more than one filtering flag in a command.
Table E–9 describes the DECevent OpenVMS filtering statements.
Table E–9 Filtering Statements (DECevent OpenVMS syntax) Filter Statement Description /SIN="date"/BEF="date" Filters based on the time the event occurred. No events that occurred before the given start time or after the given end time are processed. The date can be entered in any format supported by Java (for example, dd-mmm-yyyy,hh:mm:ss). You do not need to include the time (hh:mm:ss) with the date. You can use the keywords YESTERDAY and TODAY. /INC(keyword)/EXC(keyword) Filters based on the numeric entry type. You must enter a keyword rather than the actual entry type. See Table E–10 for information on supported keywords. /NOD=name Filters based on the node responsible for generating the event. The name argument is case sensitive. /ENT=(S:nn,E:nn) Filters based on the event's position in the event log. The first event in the file is event index 1. /REV Processes the events in reverse order according to the event index number.The following examples show sample commands that use filtering.
Processes events from the system described by ComputerName:
wsea v /tra/nod=ComputerName wsea v /sum/nod=ComputerName wsea v /bin=outputfile.bin/nod=ComputerName inputfile.zpdProcesses events that occurred before 8:33:57 PM on January 31, 2000:
wsea v /tra/bef="31-Jan-2000,20:33:57" wsea v /sum/bef="31-Jan-2000,20:33:57" wsea v /bin/bef="31-Jan-2000,20:33:57"Processes all CPU machine check events:
wsea v /tra/inc(cpu) wsea v /sum/inc(cpu) wsea v /bin=outputfile.bin/inc(cpu) inputfile.zpdProcesses all events without an operating system type of 1. The translation command presents the output in reverse chronological order:
wsea v /tra/EXC(operating_system=1)/rev wsea v /sum/EXC(operating_system=1) wsea v /bin=outputfile.bin/EXC(operating_system=1) inputfile.zpdProcesses all the events after the fifteenth event in the log file:
wsea v /tra/ent=(s:15) wsea v /sum/ent=(s:15) wsea v /bin=outputfile.bin/ent=(s:15) inputfile.zpd