Man page - pcp_health_check_stats(1)
Packages contains this manual
- pcp_invalidate_query_cache(1)
- pgpool_adm_pcp_node_count(3)
- pcp_proc_info(1)
- pcp_recovery_node(1)
- pcp_common_options(1)
- pgpool_adm_pcp_pool_status(3)
- pcp_proc_count(1)
- pcp_log_rotate(1)
- pgpool_adm_pcp_node_info(3)
- pgpool_adm_pcp_attach_node(3)
- pcp_stop_pgpool(1)
- pcp_node_count(1)
- pgpool_setup(1)
- pcp_health_check_stats(1)
- pgpool_adm_pcp_detach_node(3)
- pgpool_adm_pcp_health_check_stats(3)
- pg_md5(1)
- pcp_promote_node(1)
- pcp_pool_status(1)
- pcp_detach_node(1)
- wd_cli(1)
- pg_enc(1)
- pcp_reload_config(1)
- pgpool_adm_pcp_proc_info(3)
- pcp_watchdog_info(1)
- pgproto(1)
- pgpool(8)
- watchdog_setup(1)
- pcp_node_info(1)
- pcp_attach_node(1)
apt-get install pgpool2
Manual
PCP_HEALTH_CHECK_STATS
NAMESYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
NAME
pcp_health_check_stats - displays health check statistics data on given node ID
SYNOPSIS
|
pcp_health_check_stats [ option ...] [ node_id ] |
DESCRIPTION
pcp_health_check_stats displays health check statistics data on given node ID.
OPTIONS
-n
node_id
--node-id=
node_id
The index of backend node to get information of.
Other options
See pcp_common_options (1).
EXAMPLE
Here is an example output:
$
pcp_health_check_stats -h localhost -p 11001 -w 0
0 /tmp 11002 up primary 2020-02-24 22:02:42 3 3 0 0 0
0.000000 0 5 1 3.666667 2020-02-24 22:02:47 2020-02-24
22:02:47
$ pcp_health_check_stats -h localhost -p 11001 -w -v 0
Node Id : 0
Host Name : /tmp
Port : 11002
Status : up
Role : primary
Last Status Change : 2020-02-24 22:02:42
Total Count : 5
Success Count : 5
Fail Count : 0
Skip Count : 0
Retry Count : 0
Average Retry Count : 0.000000
Max Retry Count : 0
Max Health Check Duration : 5
Minimum Health Check Duration : 1
Average Health Check Duration : 4.200000
Last Health Check : 2020-02-24 22:03:07
Last Successful Health Check : 2020-02-24 22:03:07
Last Skip Health Check :
Last Failed Health Check :
See Table 29, “Statistics data shown by pool_health_check_stats command” for details of data.