24 May,2010 by Tom Collins
I've been running this code via a cron job on Linux, which handles removing db2diag files , up to 3 days old.
db2diag -A find db2_instance_home/db2dump -mtime +3 -exec rm -f {} \;
On some servers there is a requirement to archive the db2diag file , which I add a "cp" command prior to the above
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |