在db2中什么时候会产生dump文件?

[复制链接]
查看11 | 回复9 | 2005-11-15 16:59:54 | 显示全部楼层 |阅读模式
在db2运行过程中经常产生一些dump文件,当产生dump文件的时候说明db2或应用程序有问题.请问db2什么情况下会产生dump文件?
回复

使用道具 举报

千问 | 2005-11-15 16:59:54 | 显示全部楼层
Dump files are created when an error occurs for which there is additional information that would be useful in diagnosing a problem (such as internal control blocks). Every data item written to the dump files has a timestamp associated with it to help with problem determination. Dump files are in binary format and are intended for DB2(R) customer support representatives.
When a dump file is created or appended, an entry is made in the db2diag.log indicating the time and the type of data written. These db2diag.log entries resemble the following:
1997-03-16-11.53.18.001160Instance

ayroll Node:000
PID:44829(db2agent (SAMPLE)) Appid:*LOCAL.payroll.970317140834
relation_data_serv
sqlrerlgProbe:17 Database:SAMPLE
DIA9999E An internal return code occurred. Report the following : "0xFFFFE101".
Dump File:/home/db2/sqllib/db2dump/56772.000 Data : SECTION STMT1
回复

使用道具 举报

千问 | 2005-11-15 16:59:54 | 显示全部楼层
呵呵,自问自答阿
回复

使用道具 举报

千问 | 2005-11-15 16:59:54 | 显示全部楼层
由于没有人帮助解决,自己解决了。把答案放在这儿供大家参考!
回复

使用道具 举报

千问 | 2005-11-15 16:59:54 | 显示全部楼层
最初由 yseraphi 发布
[B]由于没有人帮助解决,自己解决了。把答案放在这儿供大家参考! [/B]

支持
回复

使用道具 举报

千问 | 2005-11-15 16:59:54 | 显示全部楼层
谢谢 diablo2的支持!
回复

使用道具 举报

千问 | 2005-11-15 16:59:54 | 显示全部楼层
那这个DUMP文件该怎么分析呢?
回复

使用道具 举报

千问 | 2005-11-15 16:59:54 | 显示全部楼层
看帮助吧!
回复

使用道具 举报

千问 | 2005-11-15 16:59:54 | 显示全部楼层
新手,如何知道哪个或哪些命令与DUMP有关呢?
如果是操作系统级别,可以用man -k,那DB2里该怎么做呢?
回复

使用道具 举报

千问 | 2005-11-15 16:59:54 | 显示全部楼层
$ man -k dump
capture(1)- Allows terminal screens to be dumped to a file.
dump(1) - Dumps selected parts of an object file.
dumpcheck(1)- Checks to see that the dump device and copy directory are able to receivethe system dump.
dumpfs(1) - Dumps file system information.
errdead(1)- Extracts error records from a system dump.
hps_dump(1) - Dumps contents of Network Terminal Accelerator (NTX)adapter memory to a host file.
kdb(1)- Displays system images for examining a dump.
rdump(1)- Backs up files onto a remote machine's device.
savecore(1) - Saves a system dump.
syscorepath(1)- Specifies a single system-wide directory where all core files of any processeswill be dumped.
sysdumpdev(1) - Changes the primary or secondary dump device designationin a running system.
sysdumpstart(1) - Provides a command line interface to start a kerneldump to the primary or secondary dump device.
tcpdump(1)- Prints out packet headers.
trcdead(1)- Extracts the trace buffer from a system dump image.
xpr(1)- Formats a window dump file for output to a printer.
xwd(1)- Dumps the image of an Enhanced X-Windows window.
xwud(1) - Retrieves and displays the dumped image of an EnhancedX-Windows window.
zdump(1)- Dumps the time zone information.
$
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行