[Db2] How to collect db2support (for UNIX/Linux platforms)
作者:
hbhe0316
https://www.ibm.com/support/pages/node/1087852
Question & Answer
Question
How can I collect our Db2's general information by using db2support command ?
Answer
Db2support command collects environment data about either a client or server machine and places the files that contain system data into a compressed file archive.
Please follow the steps below.
Login to database server machine with instance owner user ID.
Run following command from command line processor (CLP)
$ db2support [outputdir] -s -d [database] -c -f > db2support.log 2>&1
Peplace [outputdir] with the path name where generated files should be placed (for example /tmp/workdir/db2support. refer technote).
Replace [database] with the target database name.
In V10.5 or later, you can specify multiple database name, delimited by comma. If you want to collect information for all databases listed in the database directory, you can specify '-alldbs' option instead of '-d' followed by specific database name.
In V10.1 or before, you can specify only one database name for each execution of db2support utility. You need to run db2support utility multi-times for each database, if you need to gather information about multiple databases.
Please provide following files to IBM technical support.
db2support.zip, db2support.log, db2diag.log
版权声明:本文为博主原创文章,未经博主允许不得转载。
DB2