Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > E

evminfo(1)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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 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.

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, 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.

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 channels.

    $ 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

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.