Administrator's Reference

QUERY ENABLED (Query Enabled Events)

Use this command to display either a list of enabled events or a list of disabled events, whichever is shorter.

Privilege Class

Any administrator can issue this command.

Syntax

>>-Query--ENabled----+-CONSOLE-----+---------------------------->
                     +-ACTLOG------+
                     +-EVENTSERVER-+
                     +-FILE--------+
                     +-FILETEXT----+
                     +-SNMP--------+
                     +-TIVOLI------+
                     '-USEREXIT----'
 
>-----+-----------------------------+--------------------------><
      +-NODEname--=--node_name------+
      '-SERVername--=--server_name--'
 

Parameters

receiver
Specifies a type of receiver for enabled events. This is a required parameter. Valid values are:

ACTLOG
Specifies the TSM activity log as a receiver.

CONSOLE
Specifies the standard server console as a receiver.

EVENTSERVER
Specifies the event server as a receiver.

FILE
Specifies a user file as a receiver. Each logged event is a record in the file and a person cannot read each logged event easily.

FILETEXT
Specifies a user file as a receiver. Each logged event is a fixed-size, readable line.

SNMP
Specifies the simple network management protocol (SNMP) as a receiver.

TIVOLI
Specifies the Tivoli Management Environment (TME) as a receiver.

USEREXIT
Specifies a user-written routine to which TSM writes information as a receiver.

NODEname
Specifies a node name to be queried. You can specify NODENAME or SERVERNAME. If neither parameter is specified, the query is for events enabled for the server running this command.

SERVername
Specifies a server name to be queried. You can specify NODENAME or SERVERNAME. If neither parameter is specified, the query is for events enabled for the server running this command.

Examples

Task

Query the server for server events that are enabled for the console. There are 10000 possible server events. Either a list of enabled events or disabled events is displayed (whichever list is shorter).

Command:
query enabled console

Output:
+--------------------------------------------------------------------------------+
|9998 events are enabled for the CONSOLE receiver.  The                          |
|following events are DISABLED for the CONSOLE receiver:                         |
|    |                                                                           |
|ANR8409, ANR8410                                                                |
+--------------------------------------------------------------------------------+

Related Commands

Table 168. Commands Related to QUERY ENABLED

Command Description
BEGIN EVENTLOGGING Starts event logging to a specified receiver.
DISABLE EVENTS Disables specific events for receivers.
ENABLE EVENTS Enables specific events for receivers.
END EVENTLOGGING Ends event logging to a specified receiver.
QUERY EVENTRULES Displays information about rules for server and client events.
QUERY STATUS Displays the settings of server parameters, such as those selected by the SET commands.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]