Deployment Guide
14.5 Watching DB and log filesystem usage
db2_watchdog.sh script, found in directory /opt/7signal/dbms/scripts can be used to monitor DB and
archive log filesystem disk usage.
If the disk usage exceeds configured usage percentage, the script will shut down the Sapphire applications and DB2,
preventing possible database corruption caused by a full filesystem. db2_watchdog.sh must be run as root user.
The utility has the following options:
# /opt/7signal/dbms/scripts/db2_watchdog.sh -h
Usage db2_watchdog.sh [OPTIONS]
Options:
-d DB file system, default is '/DB'
-c DB file system usage threshold percents, default '95'
-t Check usage of log file systems. By default, only DB file
system usage is checked.
-p Primary archive log file system, default is '/NFS-logs'
-a Primary archive log usage threshold percents, default is '95'
-s Secondary archive log file system, default is '/DB-logs'
-f Secondary archive log usage threshold percents, default is '95'
-l Log directory, default is '/tmp/7signal'
-h Show this help
7signal Solutions Inc., 6155 Rockside Road, Suite 110, Independence, Ohio 44131, USA,
216-777-2900, info@7signal.com, www.7signal.com