HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)

e
emtui(1) emtui(1)
-m "Contact John Doe in IT Support" -i 1234 -u 9876
-q
querystring
Provides a query string to query the CER for information about errors, cause, and the recommended
action. Obtain specific search results by using the
-c, -e, -l, and -s options or the -w option along
with the
-q option. The -q option is optional.
An example command to display matching errors with a severity greater than
minor and which
contain the word
failure is as follows:
emtui -b -l gt minor -q "failure"
An example command to display matching NetTL errors from subsystem 1234 and event ID 5678
and which contain the word failure is as follows:
emtui -b -e nettl 1234,5678 -q "failure"
-s
scope
Defines the scope of the search. HP enables external, registered non-HP partners, Independent
Software Vendors (ISVs) and Independent Hardware Vendors (IHV) to add their error metadata
(detailed information about an error) to the CER. Use the -s option to view the error metadata as
specified in scope.
scope is one of the following values:
all Displays both HP and non-HP error messages. This is the default.
hp Displays HP errors only.
other Displays non-HP ISV/IHV errors only.
An example to display HP errors that contain the word corrupted is as follows:
emtui -b -s hp -q "corrupted"
An example to display errors from vendors (-s other) that contain the word memory is as follows:
emtui -b -q "memory" -s other
-u
usersolution
The user can add his or her own solution for a particular error by using the
-u option. This option
takes the error id and the solution text as parameters and associates them with a cause. If the error
id and solution text are applicable to all causes, the
-c ALL option must be used.
-v Provides detailed information about an error. An example of the
-v option follows:
emtui -v -i 1234
-w
matchtype
Specifies how to parse the query string in the -q querystring option. The query string is used to
query the CER for information about errors, causes, and recommended actions.
matchtype is one of the following values:
all Searches the CER for all the words of the query string in any order.
any Searches the CER for one or more words of the query string in any order. This is the
default.
"phrase" Searches the CER for the exact phrase of the query string. The phrase is enclosed in
double quotes.
Examples using the -w option follow:
Display matching errors that contain any of the words monitor, memory,orfailure:
emtui -b -q "monitor memory failure" -w any
Display matching errors that contain the exact phrase
emtui -b -q "the status value" -w phrase
RETURN VALUE
emtui returns one of the following values:
294 Hewlett-Packard Company 4 HP-UX 11i Version 3: February 2007