db2的日常监控工具db2top

刚接触db2数据库不久,一切还都是在摸索阶段。现在把我所了解的db2top工作做一个记录。

Usage: db2top [-d dbname] [-n nodename] [-u username] [-p password] [-V schema] [-i interval] [-P <part>]
[-a] [-R] [-k] [-x] [-f file <+time> </regexp>] [-b options] -o outfile]] [-C] [-m duration]
db2top -h

-d : Database name (default DB2DBDFT)
-n : Node name
-u : User name
-p : User password 
-V : Default explain schema 
-i : Interval in seconds between snapshots
-b : background mode
option: d=database, l=sessions, t=tablespaces, b=bufferpools, T=tables, D=Dynamic SQL, s=Statements, U=Locks
-o : output file for background mode
-a : Monitor only active objects
-R : Reset snapshot at startup
-k : Display cumulated counters
-x : Extended display
-P : Partition snapshot (number or current)
-f : Replay monitoring session from snapshot data collector file, can skip entries when +seconds is specified
-C : Run db2top in snapshot data collector mode
-m : Max duration in minutes for -b and -C
-h : this help

你可能感兴趣的:(db2)