You show the status of all event dispatchers belonging to a database instance.
DBM users must have the following properties to be able to use the state command:
· Server authorization EvtDispAdmin. These DBM operators receive a list of all event dispatchers for the database instance.
· Server authorization EvtDispUse. These DBM operators receive a list of event dispatchers started under their user name.
dbmevtdisp state <database_authentication>
<database_authentication> |
Authentication data used by the event dispatcher to log on to the database instance to be monitored Syntax: -d <database_name> (-u <dbm_user_name,dbm_user_password>)|(-U <user_key>) [-n <database_computer> [-e SSL]] See Database Manager CLI, Logging on to the Database Manager |
OK
Instance ID <instance_ID_1>
user:
<dbm_user_name_1>
host:
<database_computer_1>
configuration file:
<configuration_file_1>
log file:
<log_file_1>
.
.
.
Instance ID <instance_ID_n>
user:
<dbm_user_name_n>
host:
<database_computer_n>
configuration file:
<configuration_file_n>
log file:
<log_file_n>
<instance_ID_i> |
Event dispatcher i ID |
<dbm_user_name_i> |
DBM operator who has started the event dispatcher |
<database_computer_name_i> |
Database computer on which event dispatcher i is running |
<configuration_file_i> |
Configuration file used by event dispatcher i |
<log_file_i> |
Log file used by event dispatcher i |
The DBM operator OLEG with the password MONDAY shows the event dispatcher for database instance DEMODB on the local computer.
dbmevtdisp state -d DEMODB -u OLEG,MONDAY
OK
Instance ID 1
user: OLEG
host: PARMA
configuration
file: testconfig.cfg
log file: mylog.log
Instance ID 0
user: DBADMIN
host: GENUA
configuration file: ed.cfg
log file: ed.log
The following event dispatchers are currently running for database instance DEMODB.
· Event dispatcher with ID 1
¡ Started by DBM operator OLEG on computer PARMA
¡ Configuration file testconfig.cfg
¡ Log file mylog.log
· Event dispatcher with ID 0
¡ Started by DBM user OLEG on computer GENUA
¡ Configuration file ed.cfg
¡ Log file ed.log
See also:
Overview of Event Dispatcher Commands