The following elements provide identification and status information about the server:
Snapshot Information Level Database Manager |
API Structure(s) sqlm_db2 |
Monitor Switch Basic |
Resettable |
No |
|
API Element Name Element Type |
db2start_time timestamp | |
Related Information |
|
Description: The date and time that the database manager was started using the db2start command.
Usage: This element may be used with the "Snapshot Time" monitor element to calculate the elapsed time since the database manager was started up until the snapshot was taken.
Snapshot Information Level Database Manager |
API Structure(s) sqlm_collected |
Monitor Switch Basic |
Resettable |
No |
|
API Element Name Element Type |
server_nname information | |
Related Information |
|
Description: The name of the node being monitored by the database system monitor.
Usage: This element can be used to identify the database server node you are monitoring. This information can be useful if you are saving your monitor output in a file or database for later analysis and you need to differentiate the data from different database server nodes. This node name is determined based on the nname configuration parameter.
If you are using the database system monitor APIs, note that the API constant SQLM_IDENT_SZ is used to define the length of this element. Only the first 8 characters are currently used.
Snapshot Information Level Database Manager |
API Structure(s) sqlm_collected |
Monitor Switch Basic |
Resettable |
No |
|
Event Type Event Log Header |
Event Record(s) sqlm_event_log_header |
|
API Element Name Element Type |
server_instance_name information | |
Related Information |
|
Description: The name of the database manager instance for which the snapshot was taken.
Usage: If more than one instance of the database manager is present on the same system, this data item is used to uniquely identify the instance for which the snapshot call was issued. Along with "Configuration NNAME at Monitoring (Server) Node", this information can be useful if you are saving your monitor output in a file or database for later analysis, and you need to differentiate the data from different instances of the database manager.
If you are using the database system monitor APIs, note that the API constant SQLM_IDENT_SZ is used to define the length of this element. Only the first 8 characters are currently used.
Snapshot Information Level Database Manager |
API Structure(s) sqlm_collected |
Monitor Switch Basic |
Resettable |
No |
|
API Element Name Element Type |
server_db2_type information | |
Related Information |
|
Description: Identifies the type of database manager being monitored.
Usage: It contains one of the following types of configurations for the database manager:
The API symbolic constants are defined in the include file sqlutil.h.
Snapshot Information Level Database Manager |
API Structure(s) sqlm_collected |
Monitor Switch Basic |
Resettable |
No |
|
Event Type Database Manager |
Event Record(s) sqlm_event_log_header | |
API Element Name Element Type |
server_prdid information | |
Related Information |
|
Description: The product and version that is running on the server.
Usage: It is in the form PPPVVRRM, where:
If you are using the database system monitor APIs, note that the API constant SQLM_IDENT_SZ is used to define the length of this element. Only the first 8 characters are currently used.
Snapshot Information Level Database Manager |
API Structure(s) sqlm_collected |
Monitor Switch Basic |
Resettable |
No |
|
API Element Name Element Type |
server_version information | |
Related Information |
|
Description: The version of the server returning the information.
Usage: This field identifies the level of the database server collecting database system monitor information. This allows applications to interpret the data based on the level of the server returning the data. Valid values are:
Snapshot Information Level Database Manager |
API Structure(s) sqlm_db2 |
Monitor Switch Basic |
Resettable |
No |
|
API Element Name Element Type |
service_level information | |
Related Information |
|
Description: This is the current corrective service level of the server.
Usage: Used to provide information when requesting service or reporting a problem with DB2 on OS/2. This element will be blank for non-OS/2 systems.
Note: | This element is similar to the corr_serv_lvl field in the sqlestat output. See Appendix C. "DB2 Version 1 sqlestat Users" for more information on sqlestat equivalent data elements. |
Snapshot Information Level Database |
API Structure(s) sqlm_dbase |
Monitor Switch Basic |
Resettable |
No |
|
Event Type Database |
Event Record(s) sqlm_db_event |
|
API Element Name Element Type |
server_platform information | |
Related Information |
|
Description: The operating system running the database server.
Usage: This element can be used for problem determination for remote applications. Values for this field can be found in the header file sqlmon.h.
Note: | This element is similar to the db_type field in the sqlestat output. See Appendix C. "DB2 Version 1 sqlestat Users" for more information on sqlestat equivalent data elements. |
Snapshot Information Level Database Manager |
API Structure(s) sqlm_db2 |
Monitor Switch Basic |
Resettable |
No |
|
API Element Name Element Type |
product_name information | |
Related Information |
|
Description: Details of the version of the server that is running.
Usage: Used to provide information when requesting service or reporting a problem with DB2 on OS/2. This element will be blank for non-OS/2 systems.
Note: | This element is similar to the product_name field in the sqlestat output. See Appendix C. "DB2 Version 1 sqlestat Users" for more information on sqlestat equivalent data elements. |
Snapshot Information Level Database Manager |
API Structure(s) sqlm_db2 |
Monitor Switch Basic |
Resettable |
No |
|
API Element Name Element Type |
component_id information | |
Related Information |
|
Description: Details of the type of the server that is running.
Usage: Used to provide information when requesting service or reporting a problem with DB2 on OS/2. This element will be blank for non-OS/2 systems.
Note: | This element is similar to the component_id field in the sqlestat output. See Appendix C. "DB2 Version 1 sqlestat Users" for more information on sqlestat equivalent data elements. |
Snapshot Information Level Database Manager |
API Structure(s) sqlm_db2 |
Monitor Switch Basic |
Resettable |
No |
|
API Element Name Element Type |
db2_status information | |
Related Information |
|
Description: The current status of the instance of the database manager.
Usage: You can use this element to determine the state of your database manager instance.
The value returned is always SQLM_DB2_ACTIVE.