logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pgagroal-cli - Command line utility for pgagroal

Commands

flush-idle
              Flush idle connections

       flush-gracefully
              Flush all connections gracefully

       flush-all
              Flush all connections. USE WITH CAUTION !

       is-alive
              Is pgagroal alive

       enable Enable a database. Optional parameter with the database name, if not specified all will be enabled

       disable
              Disable  a  database.  Optional  parameter  with  the  database name, if not specified all will be
              disabled

       gracefully
              Stop pgagroal gracefully

       stop   Stop pgagroal

       cancel-shutdown
              Cancel the graceful shutdown

       status Status of pgagroal

       details
              Detailed status of pgagroal

       switch-to
              Switch to another primary

       reset  Reset the Prometheus statistics

       reset-server
              Reset the state of a server. Requires a server name as an argument

Description

       pgagroal-cli is a command line utility for pgagroal.

Name

       pgagroal-cli - Command line utility for pgagroal

Options

-c,--configCONFIG_FILE
              Set the path to the pgagroal.conf file

       -h,--hostHOST
              Set the host name

       -p,--portPORT
              Set the port number

       -U,--userUSERNAME
              Set the user name

       -P,--passwordPASSWORD
              Set the password

       -L,--logfileFILE
              Set the logfile

       -v, --verbose
              Output text string of result

       -V, --version
              Display version information

       -?,--help
              Display help

Reporting Bugs

       pgagroal is maintained on GitHub at https://github.com/agroal/pgagroal

See Also

pgagroal.conf(5), pgagroal_hba.conf(5), pgagroal_databases.conf(5), pgagroal(1), pgagroal-admin(1)

                                                                                                 PGAGROAL-CLI(1)

Synopsis

       pgagroal-cli [ -c CONFIG_FILE ] [ COMMAND ]

See Also