'\" t .\" Title: pcp_health_check_stats .\" Author: The Pgpool Global Development Group .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 2023 .\" Manual: pgpool-II 4.3.7 Documentation .\" Source: pgpool-II 4.3.7 .\" Language: English .\" .TH "PCP_HEALTH_CHECK_STATS" "1" "2023" "pgpool-II 4.3.7" "pgpool-II 4.3.7 Documentation" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pcp_health_check_stats \- displays health check statistics data on given node ID .SH "SYNOPSIS" .HP \w'\fBpcp_health_check_stats\fR\ 'u \fBpcp_health_check_stats\fR [\fIoption\fR...] [\fInode_id\fR] .SH "DESCRIPTION" .PP \fBpcp_health_check_stats\fR displays health check statistics data on given node ID\&. .SH "OPTIONS" .PP .PP \fB\-n \fR\fB\fInode_id\fR\fR .br \fB\-\-node\-id=\fR\fB\fInode_id\fR\fR .RS 4 The index of backend node to get information of\&. .RE .PP \fBOther options \fR .RS 4 See \fBpcp_common_options\fR(1)\&. .RE .SH "EXAMPLE" .PP Here is an example output: .sp .if n \{\ .RS 4 .\} .nf $ 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 : .fi .if n \{\ .RE .\} .PP See Table\ \&27, \(lqStatistics data shown by pool_health_check_stats command\(rq for details of data\&.