# lesovsky/pgcenter

Command-line admin tool for observing and troubleshooting Postgres.

Repository: https://github.com/lesovsky/pgcenter
Canonical: https://ross.abutalabs.com/products/pgcenter
Language: Go
License: NOASSERTION
License Family: other
Topics: postgresql, postgresql-statistics, postgresql-admin
Last push: 2026-08-06T11:45:45+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 89, longevity 100
- inputs: {"age_days": 4032, "days_push": 27, "days_rel": 72, "gap_med": 22.0, "n_releases_24m": 3}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1624, forks 104 (observed 2026-08-28T04:05:12.802858+00:00)

## What it is
pgCenter is a command-line admin tool for observing and troubleshooting PostgreSQL in runtime. It provides a top-like interface for monitoring Postgres statistics, per-process system stats, configuration management, log inspection, and wait event profiling.

## Use cases
- monitor postgres statistics in a top-like interface
- troubleshoot slow queries and see if they are cpu-bound or io-bound
- profile postgres wait events during query execution
- collect postgres stats to files and build reports later
- view and edit postgres configuration files and reload the service
- check postgres logs without leaving the monitoring tool

## When to choose
- you are a DBA or developer who needs live, interactive insight into Postgres runtime statistics
- you want a lightweight CLI alternative to full monitoring stacks for quick troubleshooting
- you need per-backend CPU/IO stats alongside query text
- you want to record stats for post-mortem analysis

## When to avoid
- you need long-term dashboards, alerting, or history — use a monitoring system like Prometheus instead
- you need a GUI or web-based interface
- you are not working with PostgreSQL

## Facets
- artifact type: cli-tool
- maturity: active
- function: monitoring, developer-tools, cli
- domain: databases, developer-tools, monitoring
- platform: cli
- tags: postgresql, top-like-interface, dba, troubleshooting, wait-events, statistics, command-line, linux, macos, docker

## Member repositories
- lesovsky/pgcenter (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:12.802858+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:48:47.246733+00:00, confidence not recorded.
  - readme: https://github.com/lesovsky/pgcenter (fetched 2026-08-28T04:05:12.802858+00:00, sha 96b17271d55f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
