---
name: "pcp_node_count"
section: "1"
platform: "linux"
package: "pgpool2"
version: "4.6.1-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pcp_node_count"
---

# pcp\_node\_count(1)

displays the total number of database nodes

## 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)](/pcp_common_options/1.md).

## EXAMPLE

Here is an example output:

```
    $ pcp_node_count -p 11001
    Password:
    2
```
