DOKK / manpages / debian 11 / pgpool2 / pcp_node_count.1.en
PCP_NODE_COUNT(1) pgpool-II 4.1.4 Documentation PCP_NODE_COUNT(1)

pcp_node_count - displays the total number of database nodes

pcp_node_count [option...]

pcp_node_count displays the total number of database nodes defined in pgpool.conf. It does not distinguish between nodes status, ie attached/detached. ALL nodes are counted.

See pcp_common_options(1).

Here is an example output:


$ pcp_node_count -p 11001
Password:
2

2020 pgpool-II 4.1.4