This appendix contains descriptions and examples of all selection keywords associated with Bit-To-Text translation of events.
The -i qualifier allows you to include event entries meeting the selection criteria specified. Only event entries meeting the selection criteria are included in the output.
Syntax for the -i command is the following:
The val field is an optional field used to further define the selection keyword. For example, the keyword disk can be further defined with the value RZ23.
All keyword values must be entered in upper case.
In the previous example, all entries selected from the event log are disk entries. The output is directed to the filename.out file.
%dia -i disk=RZ23 > filename.out
In the previous example only RZ23 entries are selected from the event log. The output is directed to a file named filename.out. You can combine -x and -i qualifiers in the same command line to further narrow the selection scope. An -i -i combination or an -x -x combination will result in an error.
Refer to Section D.4 for examples of using different include commands, and Section D.3 for the definitions of the selection keywords.
The -x qualifier allows you to exclude event entries meeting the criteria specified. Only event entries meeting the criteria are excluded from the output.
Syntax for the -x command is the following:
The val field is an optional field used to further define the selection keyword. For example, the keyword disk can be further defined with the value RZ23.
All keyword values must be entered in upper case.
In the previous example all entries in the log are selected except disk entries. The output is directed to the filename.out file.
%dia -x disk=RZ23 > filename.out
In the previous example only RZ23 disk entries are excluded from the log. The output is directed to the filename.out file.
You can combine -x and -i qualifiers in the same command line to further narrow the selection scope. An -i -i combination or an -x -x combination will result in an error.
Refer to Section D.4 for examples of using different exclude commands, and Section D.3 for the definitions of the selection keywords.
You can use all keywords to exclude or include information from the output. The keywords and their definitions are listed in this section. The abbreviated forms of the keywords, bolded in the table, also are acceptable. For example, you may exclude environmental_entries with the following command:
The following subsections provide -i and -x qualifier examples.
The following example includes only power entries:
The following example includes power, cpu, and tape entries:
The following example gives an error because two -i flags are not allowed:
The following example excludes power entries and places the output in a file called outfile:
The following example excludes power, cache and cpu entries and places the output in a file called outfile:
%dia -x pwr cpu cache> outfile
The following example gives an error because two -x flags are not allowed:
The following example includes all power entries that are not cpu entries:
The following example includes all power entries and excludes entries from node cxaiag that are not cpu entries:
The following example includes all power and io_subsystem entries that are not cpu entries:
%dia -i pwr io_subsystem -x cpu
The following example includes all power entries that are not cpu or software_informational entries:
The following example includes all power entries and excludes from the node cxaiag that are not cpu or software_informational entries: