DB2 10.5 for Linux, UNIX, and Windows

db2fm - DB2 fault monitor command

Controls the DB2® fault monitor daemon. You can use db2fm to configure the fault monitor.

This command is available on UNIX and Linux operating systems.

Authorization

Authorization over the instance against which you are running the command.

Required connection

None

Command syntax

Read syntax diagramSkip visual syntax diagram
>>-db2fm--+- -t--service--+-- -m--module path------------------->
          '- -i--instance-'                     

>--+--------------+--------------------------------------------><
   +- -u----------+   
   +- -d----------+   
   +- -s----------+   
   +- -k----------+   
   +- -U----------+   
   +- -D----------+   
   +- -S----------+   
   +- -K----------+   
   +- -f--+-on--+-+   
   |      '-off-' |   
   +- -a--+-on--+-+   
   |      '-off-' |   
   +- -T--T1/T2---+   
   +- -l--I1/I2---+   
   +- -R--R1/R2---+   
   +- -n--email---+   
   +- -h----------+   
   '- -?----------'   

Command parameters

-m module-path
Defines the full path of the fault monitor shared library for the product being monitored. The default is $INSTANCEHOME/sqllib/lib/libdb2gcf.
-t service
Gives the unique text descriptor for a service.
-i instance
Defines the instance of the service.
-u
Brings the service up.
-U
Brings the fault monitor daemon up.
-d
Brings the instance down.
-D
Brings the fault monitor daemon down.
-k
Kills the service.
-K
Kills the fault monitor daemon.
-s
Returns the status of the service.
-S
Returns the status of the fault monitor daemon. The status of the service or fault monitor can be one of the following
  • Not properly installed,
  • INSTALLED PROPERLY but NOT ALIVE,
  • ALIVE but NOT AVAILABLE (maintenance),
  • AVAILABLE, or
  • UNKNOWN
-f on | off
Turns fault monitor ON or OFF. If this option is set off, the fault monitor daemon will not be started, or the daemon will exit if it was running.
-a on | off
Activates or deactivates fault monitoring. If this option if set to OFF, the fault monitor will not be actively monitoring, which means if the service goes down it will not try to bring it back.
-T T1/T2
Overwrites the start and stop time-out.
For example:
  • -T 15/10 updates the two time-outs
  • -T 15 updates the start time-out to 15 secs
  • -T /10 updates the stop time-out to 10 secs
-I I1/I2
Sets the status interval and time-out.
-R R1/R2
Sets the number of retries for the status method and action before giving up.
-n e-mail
Sets the email address for notification of events.
-h | -?
Displays command usage help.

Usage notes