DOKK / manpages / debian 12 / pgpool2 / pcp_node_count.1.en
PCP_NODE_COUNT(1) pgpool-II 4.3.5 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

2023 pgpool-II 4.3.5