HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)
e
evminfo(1) evminfo(1)
NAME
evminfo - provide information about EVM
SYNOPSIS
evminfo {-lc | -vp |
-verify verify_option [-file
verify_file])
DESCRIPTION
The
evminfo command writes selected information about the EVM environment to its standard output
stream.
The options determine the information to be displayed.
Options
-lc Reads the EVM channel configuration file,
/etc/evmchannel.conf
, and writes a list of all
the configured event channels. To review the events available for retrieval through a particular
set of channels, use the
evmget -c
command.
-vp Writes a string that can be used as the first two components (by convention the vendor and pro-
duct components) of a system event name. This option enables script writers to refer to system
events in a way that is independent of the host system.
Use the
-vp option, if you are writing a script that may be used on other platforms that support
EVM, and whose system events may have a different prefix.
-verify verify_option [
-file verify_file]
Checks the syntax of the EVM configuration file specified by verify_option. Valid values for
verify_option are
daemon, logger,orchmgr, to verify the EVM daemon, EVM logger, or
EVM channel configuration files respectively. If a verify_file is specified, the named file is
checked instead of the component’s standard configuration file.
RETURN VALUES
The following exit values are returned:
0 Successful completion.
not 0 An error occurred.
EXAMPLES
• In the following example, the evminfo -lc command lists the names of all event channels configured
in the EVM channel configuration file, and then evmget retrieves events from two of the listed chan-
nels.
$ evminfo -lc
evmlog
$ evmget -A -C evmlog
• This example illustrates using evminfo -vp in a shell script. It determines the first two components
of the names of system events in the host system.
The script then uses evmwatch to monitor system events.
VP=‘evminfo -vp‘
evmwatch -f "[name $VP]" | evmshow
• The following example checks the syntax of the EVM daemon configuration file.
evminfo -verify daemon
FILES
/etc/evmchannel.conf Location of the EVM channel configuration file
/etc/evmdaemon.conf Location of the EVM daemon configuration file
/etc/evmlogger.conf Location of the EVM logger configuration file
SEE ALSO
Commands
evmget(1), evmpost(1), evmshow(1), evmsort(1), evmwatch(1), evmd(1M), evmchmgr(1M), evmlogger(1M),
evmreload(1M).
HP-UX 11i Version 3: February 2007 − 1 − Hewlett-Packard Company 303