[db2inst2@localhost ~]$ db2 get dbm cfg |grep DIAG
诊断错误捕获级别 (DIAGLEVEL) = 3
诊断数据目录路径 (DIAGPATH) = /home/db2inst2/sqllib/db2dump/
备用诊断数据目录路径 (ALT_DIAGPATH) =
轮转 db2diag 和通知日志的大小(MB) (DIAGSIZE) = 0
[db2inst2@localhost ~]$
0--没有捕获到诊断数据
1--仅严重错误
2--所有错误
3--所有错误和警告
4--所有错误、警靠及参考消息
[db2inst2@localhost db2dump]$ db2 update dbm cfg using diaglevel 4
DB20000I UPDATE DATABASE MANAGER CONFIGURATION 命令成功完成。
[db2inst2@localhost db2dump]$ db2 get dbm cfg |grep DIAG
诊断错误捕获级别 (DIAGLEVEL) = 4
诊断数据目录路径 (DIAGPATH) = /home/db2inst2/sqllib/db2dump/
备用诊断数据目录路径 (ALT_DIAGPATH) =
轮转 db2diag 和通知日志的大小(MB) (DIAGSIZE) = 0
[db2inst2@localhost db2dump]$
[
db2inst2@localhost db2dump]$ db2diag -g db=TANK123 |more
2015-10-01-19.24.40.141238+480 I46465E510 LEVEL: Event
PID : 11621 TID : 47856559843648PROC : db2sysc 0
INSTANCE: db2inst2 NODE : 000 DB : TANK123
APPHDL : 0-12 APPID: *LOCAL.db2inst2.151001112440
AUTHID : DB2INST2
EDUID : 22 EDUNAME: db2agent (TANK123) 0
FUNCTION: DB2 UDB, config/install, sqlfLogUpdateCfgParam, probe:20
CHANGE : CFG DB TANK123 : "Database_memory" From: "54060" <automatic> To: "51744" <automatic>
阅读(2717) | 评论(0) | 转发(0) |