The dsmtop(Database Server Manager) command
The dsmtop command is a text-based monitoring tool similar to the db2top
command. The dsmtop command uses MON_GET_* table functions to gather monitoring
information. MON_GET table functions are built on a low overhead, lightweight
monitoring infrastructure, so it is highly recommended to use dsmtop instead of
db2top on databases that are running on version Db2 10.1 and higher.
The dsmtop command can provide information about:
Sessions: The connections that are active, blocked, or idle.
SQL statements: Recently executed SQL statements. The tool also provides a
drill down to see the full SQL text or to run an explain on a statement.
Top consumers: Connections or activities are consuming the most CPU, IO, or
another resource.
Time spent metrics: The breakdown of overall time spent by the database.
You can invoke the dsmtop tool by running the following command:
dsmtop -d <DBNAME> -n <HOSTNAME> -r <PORT NUMBER> -u <USER NAME
Comments
Post a Comment