Question: How can I view db2diag.log entries as they are written? While I’m troubleshooting , I open the db2diag.log file and then press refresh to see the latest entries. Answer: Use the db2diag –follow parameter to continuously display appended records as they appear in db2diag.log. The records continue to appear until you execute Ctrl + C. Db2diag –f Db2diag –follow More information on db2diag.log db2diag.log file delete on Linux and DB2 db2diag.log file filling - DBA DB2 Analyzing a DB2 trap file - DBA DB2 Read more →