Skip to content
eggstackPublic

About

Small TUi for monitoring system load on multiple systems

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

gregg

Crates.io Docs.rs License: MIT Downloads

Gregg is a keyboard-driven terminal monitor for CPU, memory, swap, load, disks, and optional live I/O across multiple machines.

Each monitored machine runs greggd, which serves a read-only JSON API. Your workstation runs gregg, the terminal interface, and a per-user client daemon that polls your configured machines. Multiple TUI windows share that polling.

Quickstart

1. Install greggd on each machine to monitor

Linux or macOS, for a system install with automatic startup:

curl -fsSL https://github.com/eggstack/gregg/releases/latest/download/install.sh \
  | sudo bash -s -- greggd

Windows PowerShell, run as Administrator to register the Windows service:

$installer = Join-Path $env:TEMP 'gregg-install.ps1'
Invoke-WebRequest 'https://github.com/eggstack/gregg/releases/latest/download/install.ps1' -OutFile $installer
& $installer -Component Greggd

A non-Administrator Windows install is user-local and does not register a system service. Check the daemon from its host:

curl -fsS http://127.0.0.1:11310/v2/healthz

In Windows PowerShell, run:

Invoke-RestMethod http://127.0.0.1:11310/v2/healthz

2. Install gregg on your workstation

Linux or macOS:

curl -fsSL https://github.com/eggstack/gregg/releases/latest/download/install.sh \
  | bash -s -- gregg

If the installer says ~/.local/bin is not on your current PATH, run the printed export command in that shell. The installer can also add the path to supported shell profiles for future shells.

Windows PowerShell:

$installer = Join-Path $env:TEMP 'gregg-install.ps1'
Invoke-WebRequest 'https://github.com/eggstack/gregg/releases/latest/download/install.ps1' -OutFile $installer
& $installer -Component Gregg

Prebuilt installs need no compiler. Source installs require Rust 1.89 or newer:

cargo install gregg --locked
cargo install greggd --locked

See Installation for platform details, version pinning, direct downloads, and uninstall instructions.

3. Add monitored machines and open the TUI

gregg add 192.168.1.10:11310
gregg add deadpool@192.168.1.11:11310
gregg

gregg add requires an explicit port and accepts host:port, [ipv6]:port, nickname@host:port, or http://host:port/. HTTPS is not supported.

Navigation

  • j / k or arrow keys: select a machine
  • h / l: switch panes
  • v: toggle normal and condensed layouts
  • d: expand drive details
  • n: expand network details
  • c: expand scheduled-job details when the daemon supports them
  • Shift-J / Shift-K: select a scheduled job
  • PageDown / PageUp, f / b, or Ctrl-D / Ctrl-U: page through the machine list
  • Ctrl-R: reload the Systems config, or refresh the active pane

See Display for metric rows, compact layout, offline status, and scheduled-job rendering.

Useful commands

gregg list                         List configured machines
gregg remove 192.168.1.10          Remove a machine by host
gregg refresh 30                   Set the polling interval in seconds
gregg edit                         Edit the client configuration
gregg update                       Update this client
gregg uninstall --dry-run          Preview removal

greggd status                      Check local daemon health and startup state
greggd startup install             Register Unix startup, report Windows service state
greggd restart                     Restart the daemon
greggd update                      Update the daemon
greggd uninstall --dry-run         Preview removal

The client daemon starts automatically when you run gregg. To keep it running when no TUI is open, use gregg daemon startup install. Client startup is always per-user. The monitored greggd daemon can be installed as a system service. See Client and Daemon.

Optional features

The TUI can show best-effort CPU frequency, disk throughput, and network throughput when the host and daemon provide them. Missing telemetry is left unavailable rather than shown as zero. Older daemons remain usable.

Optional greggd scheduled jobs run local maintenance commands from cron schedules. The client can display their state and recent output. Scheduler output is available to any client that can reach the unauthenticated daemon listener, so keep that listener on a trusted network. See Daemon.

The optional EggPool pane displays periodized usage metrics and separate service-health information. See Client.

Supported release targets

Platform Architecture Release asset target
Linux x86-64 x86_64-unknown-linux-gnu
Linux ARM64 aarch64-unknown-linux-gnu
macOS Intel x86_64-apple-darwin
macOS Apple Silicon aarch64-apple-darwin
Windows x86-64 x86_64-pc-windows-msvc.exe

Linux release binaries target glibc 2.17. macOS binaries are unsigned and may need Gatekeeper approval. Linux ARMv7 and Windows ARM64 use the Cargo fallback when Rust is available.

Documentation

  • Installation: install, update, and uninstall
  • Client: endpoints, client daemon, EggPool, and scheduler views
  • Daemon: configuration, startup, scheduled jobs, and security
  • Display: TUI behavior and layout
  • HTTP API: daemon endpoints and telemetry
  • Development: local builds and packaging helpers

Security

The daemon is intended for private networks. It has no TLS or authentication and is not hardened for public Internet exposure. See Security.

Contributing and license

See CONTRIBUTING.md. Gregg is licensed under the MIT License.

About

Small TUi for monitoring system load on multiple systems

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages