How to do it...

Follow these steps to get the status of PgBouncer clients:

  1. Connect to the pgbouncer database on port 6432 of the PostgreSQL server as the postgres user.
  2. Issue the following query:
        SHOW CLIENTS; 

Get PostgreSQL High Availability Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.