When you contact DB2 Customer Service you may be requested to provide logs
or perform traces to help determine the cause of problems within DB2. The
following table provides a roadmap to the various type of logging, tracing,
and alert facilities provided by DB2 and the operating systems it supports.
| Facility | Platform | Notes | Refer to... |
| DB2 Diagnostics | |||
| db2dart | All |
| "Miscellaneous Troubleshooting Tools" |
| DB2 Logging | |||
| db2diag.log file | All |
| "Understanding First Failure Data Capture" |
| Alert file | All |
| "Alerts" |
| Dump files | All |
| "Dump Files" |
| Trap files | All |
| "Trap Files" |
| DB2 message files | All |
| "Using Message Files" |
| DB2 Performance monitor | Windows NT, Windows 95, OS/2 |
| "The Database System Monitor", and the System Monitor Guide and Reference |
| Administrative tools log | Windows NT, Windows 95, OS/2 |
| "Using the Administrative Tools Log" |
| Traces | |||
| db2trc | All |
| "Using the DB2 Trace Facility (db2trc)" |
| Administrative tools trace | Windows NT, OS/2 |
| "Administration Tools Trace" |
| db2drdat | All |
| "Taking a DRDA Trace (db2drdat)" and DB2 Connect User's Guide |
| ddcstrc | All |
| DB2 Connect User's Guide |
| CLI trace | All |
| "Taking a CLI/ODBC/JDBC Trace" |
| SNA trace | All |
| "Taking an SNA Trace" |
| Process Identification | |||
| ps | UNIX |
| Chapter 8. "The DB2 Process Model" and "Viewing Process Status Using the ps Command" |
| pstat | OS/2 |
| Chapter 8. "The DB2 Process Model" and "Using the pstat Command" |
| Windows NT Performance monitor | Windows NT |
| Chapter 8. "The DB2 Process Model" and "Using Administrative Tools Provided by Windows NT" |
| System Logging | |||
| System error log (syslog) | UNIX and OS/2 |
| "Using the System Error Log (syslog)" and "Using the OS/2 Logging Facility" |
| Core file | UNIX |
| "Using the Core File" |
| UNIX commands | UNIX |
| "Other Commands" |
| Event logger | Windows NT |
| "Diagnostic Tools for Windows NT" |
| SPM/2 | OS/2 |
| Chapter 12. "Diagnostic Tools for OS/2" |
| Administrative tools | Windows NT Version 4.0 |
| "Diagnostic Tools for Windows NT" |
| Dr. Watson | All Windows systems |
| "Diagnostic Tools for Windows NT" |
| Native OS/2 logging | OS/2 |
| "Using the OS/2 Logging Facility" |
| Alerts | |||
| DB2 alert file | All |
| "Alerts" |
| SNA alerts | OS/2 |
| "Using the FFST for OS/2 Utility" |
| SNMP subagent | Windows NT, AIX, OS/2 |
| "SNMP Alerts" |