[pgpool-committers: 1130] pgpool: Add pcp_watchdog_info command

Yugo Nagata nagata at sraoss.co.jp
Tue Jul 16 18:28:53 JST 2013


Add pcp_watchdog_info command

pcp_watchdog_info displays pgpool-II watchdog's information.

Usage: pcp_watchdog_info [-d] timeout hostname port# username password [watchdogID]
  -d, --debug    : enable debug message (optional)
  timeout        : connection timeout value in seconds. command exits on timeout
  hostname       : pgpool-II hostname
  port#          : PCP port number
  username       : username for PCP authentication
  password       : password for PCP authentication
  watchdogID     : ID of a other pgpool to get information for
                   If omitted then get one's self information

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=82809466b791966c7180025a6123b2143566669a

Modified Files
--------------
pcp/Makefile.am         |    5 +-
pcp/Makefile.in         |   18 +++-
pcp/libpcp_ext.h        |    5 +-
pcp/pcp.c               |  100 ++++++++++++++++++++++
pcp/pcp.h               |    1 +
pcp/pcp_watchdog_info.c |  211 +++++++++++++++++++++++++++++++++++++++++++++++
pcp_child.c             |   80 ++++++++++++++++++
watchdog/watchdog.h     |    2 +-
watchdog/wd_ext.h       |    1 +
watchdog/wd_list.c      |   12 +++
10 files changed, 429 insertions(+), 6 deletions(-)



More information about the pgpool-committers mailing list