The following examples show health snapshots taken using the CLP, and their corresponding output, and illustrate the nature of the health monitor. The objective in the examples is to check the overall health status immediately after starting the database manager.
db2 get health snapshot for dbm
After the GET HEALTH SNAPSHOT command is issued from the CLP, the snapshot output is directed to the screen.
Node name =
Node type = Database Server with local
and remote clients
Instance name = DB2
Snapshot timestamp = 11-07-2002 12:43:23.613425
Number of database partitions in DB2 instance = 1
Start Database Manager timestamp = 11-07-2002 12:43:18.000108
Instance highest severity alert state = Not yet evaluated
Health Indicators:
Not yet evaluated
Another example of taking a database health snapshot using the CLP is outlined below.
db2 get health snapshot for db on sample
Database Health Snapshot
Snapshot timestamp = 12-09-2002 11:44:37.793184
Database name = SAMPLE
Database path = E:\DB2\NODE0000\SQL00002\
Input database alias = SAMPLE
Operating system running at database server= NT
Location of the database = Local
Database highest severity alert state = Attention
Health Indicators:
...
Indicator Name = db.log_util
Value = 60
Unit = %
Evaluation timestamp = 12-09-2002 11:44:00.095000
Alert state = Normal
Indicator Name = db.db_op_status
Value = 2
Evaluation timestamp = 12-09-2002 11:44:00.095000
Alert state = Attention
This health snapshot reveals that there is an attention alert on the db.db_op_status health indicator. The value of 2 indicates that the database is in quiesced state.