17.6. The db2support Tool

The db2support tool collects all diagnostic information, including the db2diag.log, dumps, and traps in one single file called db2support.zip. DB2 Technical Support usually requests this zip file. With this handy tool, you do not have to look for the diagnostic files manually.

The syntax of the db2support command is

					db2support
					output_path
					-d
					db_alias options
				

This creates the file db2support.zip under output_path for the database db_alias after the command is completed. The following options are usually required when running the db2support command:

  • -g collects all files under the DIAGPATH directory. This includes the db2diag.log, dump files, trap files, and the DB2 administration notification log.

  • -s collects detailed ...

Get Understanding DB2®: Learning Visually with Examples now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.