You can specify a diagnostic data directory path so that separate directories are created and named according to the database partition server, database partition, or both.
DB2® Version 9.7 Fix Pack 1 or a later fix pack is required.
You can specify a diagnostic data directory path to separately store diagnostic information according to the database partition server or database partition from which the diagnostic data dump originated.
db2 get dbm cfg | grep DIAGPATH
A
successfully split diagnostic data directory path returns the values $h, $n,
or $h$n with a preceding blank space.
The following example shows a sample output that is returned:Diagnostic data directory path (DIAGPATH) = /home/usr1/db2dump/ $h$n
To merge separate db2diag log files to make analysis and troubleshooting easier, use the db2diag -merge command. For additional information, see: "db2diag - db2diag logs analysis tool command" and "Analyzing db2diag log files using db2diag tool".