The db2systray icon has two modes, started and stopped. When the monitored instance is stopped, the icon contains an overlay with a red square. When the instance is started, the red square disappears.
In partitioned database environments, the db2systray icon will be in started mode only when all partitions are started. If one or more partitions are stopped, the db2systray icon will be in stopped mode.
When multiple DB2 copies are installed on a single Windows operating system, db2systray can monitor DB2 instances for each DB2 copy that is installed. To monitor a non-default DB2 copy, you can execute the db2systray.exe application from the SQLLIB/bin of the DB2 copy you want to monitor.
You can monitor a single DB2 instance or multiple instances at the same time. Multiple instances can be monitored using multiple db2systray processes. A separate icon will appear in the system tray for each instance monitored by db2systray. Hovering over each icon with your mouse will display the name of the DB2 copy that is being monitored followed by the DB2 instance name monitored by that db2systray icon.
The db2systray icon can be launched manually from the DB2 command window by issuing the db2systray command, or automatically when the Windows operating system starts. db2systray is configured to start automatically when you install the DB2 database. However, having db2systray configured to start automatically when the system starts, does not mean that it will attempt to start the DB2 service as well. All it means is that it will start monitoring the status of the DB2 database automatically.
Issuing the db2idrop command against an instance monitored by a running db2systray process will force the db2systray application to clean up its registry entries and exit.
db2systray is only available on Windows operating systems.
No special authority is required for starting db2systray. Appropriate authority is required for taking actions.
None
>>-db2systray--+-------------------------------+--------------->< +-+-+auto--+--+---------------+-+ | '- -auto-' '-instance-name-' | '- -clean-----------------------'
Starts db2systray for the default DB2 instance specified by the DB2INSTANCE environment variable.
Starts db2systray for the instance named DB2INST1.
Starts db2systray for the default DB2 instance, and configures db2systray to start monitoring this instance automatically when the Windows operating system starts.
Starts db2systray for the instance named DB2INST1, and configures db2systray to start monitoring this instance automatically when the Windows operating system starts.
Disables the auto start option for the default instance defined by the DB2INSTANCE environment variable.
Disables the auto start option for instance DB2INST1.
Removes all registry entries created by db2systray and stops all running db2systray.exe processes. If db2systray.exe processes are running for other installed DB2 copies, they will not be cleaned up. You must execute db2systray -clean from the SQLLIB/bin for each DB2 copy you want to clean up.