SAP Knowledge Base Article - Preview

3095931 - How to truncate/archive the CLI client db2diag.log

Symptom

To archive the Db2 database level db2diag.log you would run the following command:
db2diag -A

However, the CLI client maintains its own db2diag.log (below) which may grow large and require archiving as well.
/usr/sap/<SID>/SYS/global/db6/db2dump/db2diag.log

See resolution below for steps on how to archive the CLI client db2diag.log.


Read more...

Environment

DB6 (DB2 LUW) any version.

Product

SAP Solution Manager 7.2

Keywords

KBA , BC-DB-DB6 , DB2 Universal Database for Unix / NT , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.