PGSTAT(1)

NAME
pgstat - show queries executed and active connections on PostgreSQL database server

SYNOPSIS
pgstat [-i] [-d dbname] [-f] [-H hostname] [-U username]

OPTIONS

-i  show idle connections

-d dbname
    show only connections of specified database

-f  show full listing with pid, wait state and client address

-H hostname
    connect to server hostname

-U username
    connect as user username

ENVIRONMENT
PGDATABASE, PGHOST, PGPORT, PGUSER as described in psql(1).

SEE ALSO
psql(1)

AUTHOR
Dirk Jagdmann <doj@cubic.org> <http://pgfoundry.org/projects/pg-toolbox/>

LICENSE
zlib/libpng license: <http://en.wikipedia.org/wiki/Zlib_License>