doyoudb2

DB2 UDB for LUW (Linux, Unix and Windows)

 
  • Increase font size
  • Default font size
  • Decrease font size

db2diag.log SEVERE ERRORS - delivered right to your doorstep

E-mail Print PDF
User Rating: / 2
PoorBest 

How to make your life as a dba even better?

Setup the following command in your cron job to run daily and get the severe errors from the db2 diaglog delivered right to your mailbox, pager, blackberry or iphone.

db2diag -l severe -H 1d | mail -s "$DB2INSTANCE - DB2DIAG.LOG SEVERE ERRORS - `date`" This e-mail address is being protected from spambots. You need JavaScript enabled to view it

Note: I have the shell variable DB2INSTANCE=<instance_name> defined in my .profile
Comments
Add New Search
+/-
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
Please input the anti-spam code that you can read in the image.

3.25 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Search Site

Subscribe

Enter your email address to receive new posts directly in your Inbox:

Relax! We hate SPAM as much as you do.

Sign In/Register

Syndicate Feeds - Subscribe