Scroll to navigation

PGAGROAL-CLI(1) General Commands Manual PGAGROAL-CLI(1)

NAME

pgagroal-cli - Command line utility for pgagroal

SYNOPSIS

pgagroal-cli [ -c CONFIG_FILE ] [ COMMAND ]

DESCRIPTION

pgagroal-cli is a command line utility for pgagroal.

OPTIONS

Set the path to the pgagroal.conf file
Set the host name
Set the port number
Set the user name
Set the password
Set the logfile
Output text string of result
Display version information

-?, --help
Display help

COMMANDS

Flush idle connections
Flush all connections gracefully
Flush all connections. USE WITH CAUTION !
Is pgagroal alive
Enable a database. Optional parameter with the database name, if not specified all will be enabled
Disable a database. Optional parameter with the database name, if not specified all will be disabled
Stop pgagroal gracefully
Stop pgagroal
Cancel the graceful shutdown
Status of pgagroal
Detailed status of pgagroal
Switch to another primary
Reset the Prometheus statistics
reset-server
Reset the state of a server. Requires a server name as an argument

REPORTING BUGS

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

COPYRIGHT

pgagroal is licensed under the 3-clause BSD License.

SEE ALSO

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