pg_activity
Real-time PostgreSQL server monitoring tool designed like the htop terminal utility.
Why consider pg_activity?
pg_activity is an open-source real-time PostgreSQL server monitoring utility written in Python by Dalibo. Styled like the Unix htop tool, pg_activity displays active backend queries, locks, I/O rates, CPU/memory consumption, and allows administrators to cancel slow running queries.
Learn pg_activity by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of pg_activity
pg_activity inspects running database queries and active locks with htop-style interactive navigation.
Quickstart
pip install pg_activitypg_activity -U postgres -d company_dbpg_activity is licensed under the PostgreSQL License.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.