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--------------------------------+
| (1) |
+-Windows operating systemsNTEVENTLOG-----+
| (2) |
+-SNMP------------------------------------+
+-TIVOLI----------------------------------+
'-USEREXIT--------------------------------'
>--+----------------------------+------------------------------><
+-NODEname--=--node_name-----+
'-SERVername--=--server_name-'
Notes:
- This
parameter is only available for the
Windows operating system.
- This parameter is only available for AIX,
HP-UX, Linux, Solaris, Windows operating systems.
Parameters
- receiver
- Specifies a type of receiver
for enabled events. This is a required
parameter. Valid values are:
- ACTLOG
- Specifies the Tivoli® Storage
Manager 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.
- NTEVENTLOG
- Specifies the Windows application log as a
receiver.
- 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 Tivoli Storage
Manager 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.
Example: Query the server for console
events
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).
query enabled console
9998 events are enabled for the CONSOLE receiver. The
following events are DISABLED for the CONSOLE receiver:
ANR8409, ANR8410
Related commands
Table 1. Commands related to QUERY ENABLEDCommand |
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. |