$ cd ../
loadavg-watch — bash

user@devops:~$ cat README.md

loadavg-watch

# Description

loadavg-watch (cpp-loadavg-watch) is a system load monitor written in C++23 with no external dependencies. It reads /proc/loadavg for the 1, 5 and 15 minute averages and computes the per-core ratio. It shows a process breakdown (running, sleeping, stopped, zombie) and memory usage (available, buffers, cached, dirty). Watch mode refreshes on a configurable interval and tracks deltas. --snapshot writes JSON for scripts. --selftest covers the parser and a live /proc read. Color thresholds follow per-core load. Zero deps: g++ -std=c++23 -O2 -Wall -Wextra.

# Key features

$ 1m/5m/15m averages with per-CPU ratio from /proc/loadavg

$ Process breakdown: running, sleeping, stopped, zombie

$ Memory: usage, available, buffers, cached and dirty pages

$ Watch mode with configurable interval and delta tracking

$ JSON snapshot (--snapshot) for scripting

$ Load bars with per-core color thresholds

$ --selftest and --no-color for pipes

$ Zero dependencies: g++ -std=c++23

# Gallery

Project terminal
loadavg-watch - Project terminal
Mobile view
loadavg-watch - Mobile view

# Technologies used

C++23