Skip to content

v0.2.0 — Time-Series Charts, Stats & Responsive UI

Choose a tag to compare

@github-actions github-actions released this 05 Mar 16:10

dgxtop v0.2.0 — Time-Series Charts, Stats & Responsive UI

A major feature release with historical statistics, line charts, load averages, responsive layout, and device selection.

New Features

Time-Series Charts & Historical Stats

  • Line charts for GPU (utilization, memory, temperature), Disk I/O (read/write), and Network (RX/TX) using Braille markers
  • 1/6/12/24h statistics — average and max for CPU, Memory, GPU; avg R/W throughput for Disk; cumulative ↓/↑ bytes for Network
  • Minute-resolution aggregationTimeWindowAggregator stores up to 24h of data in memory-efficient minute buckets (~28KB per metric)
  • Progressive display — stats windows only appear after enough time has elapsed (no duplicate numbers on fresh start)

CPU Enhancements

  • Load average (1/5/15 min) from /proc/loadavg with color-coded thresholds
  • Task count (running/total) displayed in CPU info line
  • htop-style per-core view (e key) — auto column count based on core count (2/4/8 cols)
  • CPU & Memory 1/6/12/24h avg/max stats

Device Selection & Sorting

  • Network interface selection (n/N) — cycle interfaces, chart/stats follow selection
  • Disk device selection (d/D) — cycle devices, chart/stats follow selection
  • Network sorted by: active (up) first → type priority (Ethernet > WiFi > IB) → throughput descending
  • Disk sorted by: total throughput descending (busiest first)
  • Case-insensitive interface detection — fixes mixed-case names like enP7s7
  • --net-max N CLI flag to control max visible interfaces/disks (default: 3)

Responsive Layout

  • Auto-adapts to terminal height — proportionally allocates space to CPU+Memory, IO, and Process panels
  • Adaptive IO panels — chart and stats conditionally shown based on available height
  • Compact stats formatx/x/x/x single-line format fits all 4 time windows without truncation

Keyboard Shortcuts

Key Action
e Toggle per-core CPU view (htop-style)
n / N Cycle network interface
d / D Cycle disk device
+ / - Faster / slower refresh

Install

curl -fsSL https://raw.githubusercontent.com/DennySORA/dgxtop/main/install.sh | bash

Or download binaries directly:

Target File
x86_64 (glibc) dgxtop-x86_64-unknown-linux-gnu.tar.gz
x86_64 (musl) dgxtop-x86_64-unknown-linux-musl.tar.gz
aarch64 (glibc) dgxtop-aarch64-unknown-linux-gnu.tar.gz
aarch64 (musl) dgxtop-aarch64-unknown-linux-musl.tar.gz

Full Changelog: v0.1.1...v0.2.0