Realtime postgresql database server monitoring tool
pg_activity [-UphdC]
pg_activity is a htop like application for PostgreSQL server activity monitoring.
Database user name (default: $USER).
Database server port (default: "5432").
Database server host or socket directory (default: "localhost").
Database name to connect to (default: "postgres").
Disable color usage.
Filesystem blocksize (default: 4096).
Show this help message and exit.
Show program's version number and exit.
PostgreSQL password
Path to .pgpass file (default is ~/.pgpass)
Disable DATABASE.
Disable USER.
Disable CLIENT.
Disable CPU%.
Disable MEM%.
Disable READ/s.
Disable WRITE/s.
Disable TIME+.
Disable W.
PGPASSWORD='mypassword' pg_activity -U pgadmin -h 127.0.0.1 --no-client -C
pg_activity -h /tmp