Index Index for
Section 1
Index Alphabetical
listing for E
Bottom of page Bottom of
page

evminfo(1)

NAME

evminfo - Provides information about EVM

SYNOPSIS

evminfo -lc | -vp | -verify verify_option [-file verify_file]

OPTIONS

-lc Reads the EVM channel configuration file, /etc/evmchannel.conf, and writes a list of all the configured event channels. You can review the events available for retrieval through a particular set of channels by invoking evmget with the -C option. -vp Writes a string that can be used as the first two components (by convention the vendor and product 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. You should use this facility if you are writing a script that in the future may be used on other platforms that support EVM, and whose system events may have a different prefix. -verify verify_option Checks the syntax of the EVM configuration file specified by verify_option. Valid values for verify_option are daemon, logger or chmgr, 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.

DESCRIPTION

The evminfo command writes selected information about the EVM environment to its standard out stream. The options determine the information to be displayed.

EXIT STATUS

The following exit values are returned: 0 Successful completion. not 0 An error occurred.

EXAMPLES

1. In the following example, the evminfo -lc command lists the names of all event channels configured in the EVM channel configuration file, and the user invokes evmget to retrieve events from two of the listed channels. $ evminfo -lc syslog binlog misclog evmlog $ evmget -A -C misclog,evmlog 2. This example illustrates the use of evminfo -vp in a shell script to determine the first two components (by convention, the vendor and product 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 3. The following example checks the syntax of the EVM daemon configuration file. evminfo -verify daemon

FILES

/etc/evmchannel.conf The EVM channel configuration file. /etc/evmdaemon.conf The EVM daemon configuration file. /etc/evmlogger.conf The EVM logger configuration file.

SEE ALSO

Commands: evmget(1), evmpost(1), evmshow(1), evmsort(1), evmwatch(1), evmd(8), evmchmgr(8), evmlogger(8), evmreload(8) Files: evmchannel.conf(4), evmdaemon.conf(4), evmlogger.conf(4) Event Management: EVM(5) EVM Events: EvmEvent(5) Event Filter: EvmFilter(5)

Index Index for
Section 1
Index Alphabetical
listing for E
Top of page Top of
page