Siebel Installation Guide for UNIX: Servers, Mobile Web Clients, Tools > Verifying Your Server Environment >

Running EVT in Query Mode


EVT can also be run in query mode. This mode is intended to interface with other utilities that need to query the installation for information.

To run in query mode, you must use the -q flag. The -q flag must be accompanied by a properly formatted query string.

NOTE:  In query mode, EVT ignores all other options except the -h.

The query string consists of name=value pairs delimited by the plus sign (+).

The output of EVT in this mode is either pass[] or fail[], with the current value of the parameter in brackets, where applicable. Examples for UNIX are shown below.

Example

% evt -q "Checkname=VAR+ParamName=SIEBEL_ASSERT_MODE+ParamValue=0"

fail[]

This command returns fail[] because SIEBEL_ASSERT_MODE is not set to 0 and its current value is [NULL].

Example

% evt -q "Checkname=UNDEFVAR+ParamName=SIEBEL_ASSERT_MODE"

pass[]

This command returns pass[]. Because we know that SIEBEL_ASSERT_MODE is not defined, we run an UNDEFVAR to check whether the variable is defined. As expected, this check passes and the current value is still [NULL].

Siebel Installation Guide for UNIX: Servers, Mobile Web Clients, Tools