OS Manuals

/usr/bin/wd_cli

Middleware that works between PostgreSQL servers and a PostgreSQL database client.

From pgpool2-4.5 4.5.13-r1 (enterprise-packages), captured 2026-11-08 by running wd_cli --help (exit 0). permalink

Watchdog CLI for pgpool-II version 4.5.13 (hotooriboshi)

Usage:
  wd_cli [ operation] [ options] [node search criteria]

 Operations:
  -i, --info                  Get the node status for nodes based on node search criteria
  -I, --inform=NEW-STATUS     Inform Pgpool-II about new watchdog node status
                              Allowed values are DEAD and ALIVE

 Node search options:
  -a, --all                Search all nodes (only available with --info option)
  -n, --node-id=ID         Search watchdog node with node_id
  -N, --node-name=Name     Search watchdog node with name
  -H, --node-host=Host     Search watchdog node with Host
  -P, --node-port=port     Search watchdog node with wd_port

 Options:
  -f, --config-file=CONFIG_FILE
                      Set the path to the pgpool.conf configuration file
  -k, --auth-key=KEY
                      watchdog auth key
                      This over rides the pgpool.conf->wd_authkey value
  -s, --socket-dir=WD_IPC_SOCKET_DIRECTORY
                      Path to the WD IPC socket directory
                      This over rides the pgpool.conf->wd_ipc_socket_dir value
  -p, --ipc-port=WD_IPC_PORT
                      Port number of watchdog IPC socket
                      This over rides the pgpool.conf->wd_port value
  -m, --message=message string
                      Message to be passed to Pgpool-II along with new node status
  -v, --verbose       Output verbose messages
  -V, --version       Output Version information
  -d, --debug         Enable debug output
  -h, --help          Print this help
Options (16)
OptionDescriptionSource
-i, --infoGet the node status for nodes based on node search criteriahelp
-I, --inform NEW-STATUSInform Pgpool-II about new watchdog node status Allowed values are DEAD and ALIVEhelp
-a, --allSearch all nodes (only available with --info option)help
-n, --node-id IDSearch watchdog node with node_idhelp
-N, --node-name NameSearch watchdog node with namehelp
-H, --node-host HostSearch watchdog node with Hosthelp
-P, --node-port portSearch watchdog node with wd_porthelp
-f, --config-file CONFIG_FILESet the path to the pgpool.conf configuration filehelp
-k, --auth-key KEYwatchdog auth key This over rides the pgpool.conf->wd_authkey valuehelp
-s, --socket-dir WD_IPC_SOCKET_DIRECTORYPath to the WD IPC socket directory This over rides the pgpool.conf->wd_ipc_socket_dir valuehelp
-p, --ipc-port WD_IPC_PORTPort number of watchdog IPC socket This over rides the pgpool.conf->wd_port valuehelp
-m, --message messageMessage to be passed to Pgpool-II along with new node statushelp
-v, --verboseOutput verbose messageshelp
-V, --versionOutput Version informationhelp
-d, --debugEnable debug outputhelp
-h, --helpPrint this helphelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.