Chapter 7 - The shw Commands
7.1 Description
The DECevent shw commands allow you to view a specific item, depending on the specific shw command issued.
7.2 The shw Commands
Table 7-1 lists each DECevent shw command.
Table_7-1:_The_shw_Commands____________________________________
Flag_____________Action________________________________________
shw sel Shows all values associated with selection
information for the -i and -x flags.
shw sel [selec- Shows only the single entry for the selection
tion] chosen.
shw set Shows all possible settings.
shw set [set- Shows only the single entry for the setting
ting]____________chosen._______________________________________
7.2.1 The shw sel Command
The DECevent shw sel command shows all keywords associated with selection information for the -i and -x flags.
Syntax
The following syntax is used for the shw sel command:
dia shw sel
This command gives a list of selection information similar to the one in Example 7-1.
Example 7-1: Selection Information List
___________________________________________________________________
Selection Information:
Key Item-Name Value
==========================================================
bugchecks ca_EVT_swi_minor_sub_clas1
cache ca_EVT_cpu_minor_class 4
configurations ca_EVT_swi_minor_class 3
control_entries ca_EVT_swi_minor_sub_clas3
cpus ca_EVT_cpu_minor_class
dates ca_hd_gen_x__event_time
device_errors ca_EVT_ios_minor_class
device_number DEF_SEL__unit_number
disks DEF_SEL__disk
environmental_entries ca_EVT_swi_minor_class 1
hosts ca_hd_gen_t__scs_name
informationals ca_EVT_swi_minor_class 9
ios ca_EVT_ios_minor_class
io_subsystems ca_EVT_ios_minor_class
mchks ca_EVT_cpu_minor_class 1
machine_checks ca_EVT_cpu_minor_class 1
memory ca_EVT_mem_minor_class
nodes ca_hd_gen_t__scs_name
os ca_hd_gen_b__fm_os_id_code
operating_systems ca_hd_gen_b__fm_os_id_code
pwr ca_EVT_swi_minor_class 1
power ca_EVT_swi_minor_class 1
sequence_numbers ca_hd_gen_w__errseq
swi ca_EVT_swi_minor_class
software_informationals ca_EVT_swi_minor_class
sync_communications DEF_SEL__sync_comm
tapes DEF_SEL__tape
unknown_entries DEF_SEL__unknown
osf_entry ca_hd_evt_w__entry
___________________________________________________________________
7.2.2 The shw sel [selection] Command
When the shw sel command is issued with the [selection] parameter, the command shows only the single entry for the [selection] chosen. The [selection] must be spelled out in full and it must be a valid selection type.
Syntax
The following syntax is used for the shw sel command with a [selection] parameter:
dia shw sel [selection]
The [selection] Parameter
The [selection] parameter must be one of the selection keys shown in Example 7-1. These keys are displayed when the shw sel command has been issued.
Example
The following is an example of the shw sel command with a specific [selection] parameter:
% dia shw sel operating_systems
Abbreviation of the [selection] parameter is not allowed.
This shw sel command gives the message shown in Example 7-2.
Example 7-2: A shw sel environmental_entries Command Example
_______________________________________________________________
Selection Information:
Key Item-Name Value
=============================================================
environmental_entries ca_EVT_swi_minor_class 1
_______________________________________________________________
7.2.3 The shw set Command
The DECevent shw set command shows all possible setting parameters.
Syntax
The following syntax is used for the shw set command:
dia shw set
A partial output from this command is shown in Example 7-3.
Example 7-3: Current Settings Information
___________________________________________________________________
Current Settings Information:
Name Value
=========================================================
CTR__RUL_LIB CTR__DEF_RUL_LIB
CTR__SUM_LIB CTR__DEF_SUM_LIB
DEF_CTR_RULE ROOT.HEADER_CA
DEF_ETC_RULE ROOT.HEADER_EV.OSF_HEADER_EV
ETC__RUL_LIB ETC__DEF_RUL_LIB
ETC__SEL_LIB ETC__DEF_SEL_LIB
RPT__RUL_LIB RPT__DEF_RUL_LIB
HELP_FILE FMG_HELP_FILE
LOCALE AMERICAN_ENGLISH
KNL__LIB_PREFIX FMG_
KNL__LIB_SUFFIX .KNL
DEFAULT_REPORT FULL_RE
ANA__FAC_DB ANA__FAC_STATE_DB
ANA__PRM_DB ANA__PRM_STATE_DB
ANA__RUL_LIB ANA__DEF_RUL_LIB
ANA__TMP_DB ANA__TMP_STATE_DB
NOT__RUL_LIB NOT__DEF_RUL_LIB
NOT__MAIL_LIB NOT__DEF_MAIL_LIB
NOT__EXTERNAL_LIB NOT__DEF_EXTERNAL_LIB
FMG__CUST_PROFILE /usr/sbin/DIA121/FMGPROFILE
FMG_VERSION 2.1
SICL_STATE OFF
SICL_PROTOCOL_VERS 1
AUTO_COPY OFF
ANALYSIS_TRIGGER_AUTOMATIC AUTOMATIC
ANALYSIS_TRIGGER_MANUAL MANUAL
NOT__DEF_CSC_PHONE 1-800-354-9000
NOT__MAX_DSNLNK_MSG 59
CMD_TRACE 0
CTR_TRACE 0
ETC_TRACE 0
FMG__DEBUG_STATE 0
FMG__TRACE_STATE 0
RPT_TRACE 0
TRACE_STATE 0
CTR__DMP_RUL ROOT.DUMP_EVENT_CA
ETC__DMP_RUL ROOT.DUMP_EVENT_EV
CURRENT_CLI UNIX
VMS_DEFAULT /TRANSLATE
UNIX_DEFAULT -a
CHEROKEE_VMS_DEFAULT /TRANSLATE
DEF_EVT_LOG /usr/adm/binary.errlog
PRINT_MESSAGES 7
STREAM_SIZE 20
SYS_ACT_LOG_NAME ERT_ACTIVITY.LOG
KNL__DEF_ENTRIES 32
KNL__LIB_DIRECTORY DIA_LIBRARY
VAX_VMS_STACK_SIZE 10
VAX_VMS_GUARD_SIZE 3
RULE_MAX_BYTECNT 100000
ANA_TRACE 0
NOT_TRACE 0
MAIL_DEBUG 0
DEBUG_STATE 1
ALPHA_VMS_STACK_SIZE 70
ALPHA_VMS_GUARD_SIZE 40
___________________________________________________________________
7.2.4 The shw set [setting] Command
When the shw set command is issued with a [setting] parameter, the command shows only the single entry for the setting chosen.
Syntax
The following syntax is used for the shw set command with a single [setting] parameter:
dia shw set [setting]
The [setting] Parameter
The [setting] parameter must be one of the valid setting names displayed when the shw set command was issued and must be entered in upper case.
Example
The following is an example of the shw set [setting] command:
% dia shw set DEFAULT_REPORT
This command displays the message shown in Example 7-4.
Example 7-4: A shw set default_report Command Example
_______________________________________________________________
Selection Information:
Name Value
============================================
DEFAULT_REPORT FULL_RE
_______________________________________________________________