Apricot Life
db2support
最終更新:
kawases
-
view
The db2support command collects environment data about either a client or server machine and places the files containing system data into a compressed file archive.
This tool can also collect basic data about the nature of a problem through an interactive question and answer process with the user.
Before you begin
The database must be activated prior to running db2support, otherwise the information collected does not contain enough information.
Typical Procedure
This is a simple case for taking db2support:
db2support <outputdir> -s -d <dbname> -c -n <nnnnn> -f > db2support.log 2>&1
where:
<outputdir> : output directory
<dbname> : database name
<nnnnn> : any identification number (optional)
For example:
C:\> db2support c:\tmp -d sample -s -c -n 12345 -f > db2support.log 2>&1 Other Case Example(s)
If you need the optimizer information, add -sf option:
db2support <outputdir> -s -d <dbname> -c -n <nnnnn> -f -sf <SQL_file> > db2support.log 2>&1
For example:
db2support c:\tmp -s -d testdb -c -n 12345 -f -sf c:\tmp\test.sql > db2support.log 2>&1 Reference(s):
[1] db2support
http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=/com.ibm.db2.luw.admin.cmd.doc/doc/r0004503.html
http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.admin.cmd.doc/doc/r0004503.html
[2] db2support 取得手順 (WIN) [JP]
http://www-06.ibm.com/jp/services/its/support/svcdoc/db2/db2supportv8_w.html
[3] db2support 取得手順 (UNIX) [JP]
http://www-06.ibm.com/jp/services/its/support/svcdoc/db2/db2supportv8_u.html
http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=/com.ibm.db2.luw.admin.cmd.doc/doc/r0004503.html
http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.admin.cmd.doc/doc/r0004503.html
[2] db2support 取得手順 (WIN) [JP]
http://www-06.ibm.com/jp/services/its/support/svcdoc/db2/db2supportv8_w.html
[3] db2support 取得手順 (UNIX) [JP]
http://www-06.ibm.com/jp/services/its/support/svcdoc/db2/db2supportv8_u.html