HP Integrity NonStop H-Series User Manual
Page 44
INQUIRE Command
DSNM Commands
098571 Tandem Computers Incorporated
2–19
Some subsystems generate EMS events for some object state changes but not for
others. See Section 5, "Subsystems," for details on possible discrepancies between
INQUIRE and STATUS.
Because the SUMMARY, SUMMARY-BYTYPE, and SUMMARY-BYOBJECT response
modifiers return the number of objects in each state, the state modifier is ineffective
with them. DSNM ignores the state modifier if it is combined with any of these
response modifiers.
Because the INQUIRE command retrieves status information from the in-memory
copy of the DSNM object database, it does not return the status of dynamic objects,
such as Pathway terminals (which are not added to the database), or of objects added
to your network configuration after the DSNM object database was built. DSNM
automatically builds the object database the first time you start the system.
Examples
The following command returns status information for all the Pathway TCPs
controlled by manager process \LONDON.$PMUK that are either up or pending.
Because no hierarchy modifier is specified, it also returns the status of all the up or
pending terminals controlled by that TCP. The default response modifier BRIEF
returns one line of information per object.
INQUIRE TCP * UNDER $PMUK, NOT-DOWN
A sample response to the command is:
PATHWAY TCP TCP1 UNDER \LONDON.$PMUK Up
PATHWAY TERM UKPWT1 UNDER \LONDON.$PMUK Up
PATHWAY TERM UKPWT4 UNDER \LONDON.$PMUK Pending
PATHWAY TERM UKPWT5 UNDER \LONDON.$PMUK Up
PATHWAY TERM UKPWT6 UNDER \LONDON.$PMUK Pending
PATHWAY TERM UKPWT7 UNDER \LONDON.$PMUK Pending
PATHWAY TERM UKPWT8 UNDER \LONDON.$PMUK Up
PATHWAY TERM UKPWT10 UNDER \LONDON.$PMUK Up
The following command returns a single line of status information for the Expand line
\BERLIN.$LHUK and lists the acceptable states for the line:
INQUIRE \BERLIN.$LHUK, DETAIL
A sample response to the command is:
EXPAND LINE \BERLIN.$LHUK Up
Acceptable State(s): Up
The following command checks the status of every member of the groups LONDON,
BERLIN, and PARIS, and of every object that is subordinate to those members; then it
returns the total number of objects in each state:
INQUIRE LONDON BERLIN PARIS, SUMMARY
A sample response to the command is:
2 Up, 3 Pending, 5 Down, 1 Undefined, 1 In Error