pcp_node_count(1)

displays the total number of database nodes

Section 1 pgpool2 bookworm source

Description

PCP_NODE_COUNT

NAME

pcp_node_count - displays the total number of database nodes

SYNOPSIS

pcp_node_count [option...]

DESCRIPTION

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.

OPTIONS

See pcp_common_options(1).

EXAMPLE

Here is an example output:

$ pcp_node_count -p 11001
Password:
2