Linux cli command pg_lsclusters

➡ A Linux man page (short for manual page) is a form of software documentation found on Linux and Unix-like operating systems. This man-page explains the command pg_lsclusters and provides detailed information about the command pg_lsclusters, system calls, library functions, and other aspects of the system, including usage, options, and examples of _. You can access this man page by typing man followed by the pg_lsclusters.

NAME 🖥️ pg_lsclusters 🖥️

show information about all PostgreSQL clusters

SYNOPSIS

pg_lsclusters [options] [version [cluster]]

DESCRIPTION

This command list the status and some configuration details of all clusters. If a version and optionally a cluster name are given, only these are shown.

OPTIONS

-h, –no-header
Do not print the column header line.

-j, –json
Output information in JSON format. Needs JSON.pm installed. (Debian package: libjson-perl)

-s, –start-conf
Include start.conf information in status column.

–help
Print usage help.

NOTES

The cluster status is shown as online or down. If a recovery.conf file is found in the data directory, ,recovery is appended. The latter needs read access to the data directory, which only root and the cluster owner have.

The output lines are colored green and red to indicate the cluster status visually.

AUTHOR

Martin Pitt <[email protected]>

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░