Skip to content
vamola.devv2.4 · online

triage

A read-only, one-command health check for Arch Linux + Hyprland: network, disk, SMART, journal, Hyprland config and packages.

GoCLIMIT Licensev0.3.0

Terminal Preview

triage — kitty
$triage
✔ Network connection healthy, latency 12 ms
✔ Disk all filesystems have enough free space
– SMART skipped: needs root
✔ Memory memory is fine, 51% free
✔ Services no failed services
✔ Journal no unknown error entries
✔ Hyprland Hyprland is healthy, config is clean
⚠ Packages package cleanup recommended
Health score ██████████████████████░░ 94%

About

Formerly vamola-doctor

triage was called vamola-doctor until v0.2.0. The old page and the old GitHub address redirect here, and the language you picked under the old name is kept.

The triage report in a terminal: network, disk, memory, services and Hyprland checks marked healthy, two warnings for the system journal and packages, and a summary with an 89% health score.
triage on a Hyprland laptop (a few of the modules).

Right after a fresh Arch install you want to know one thing: is everything OK? triage answers in a couple of seconds with a boxed, colored report, and it separates harmless log noise (ACPI, dbus...) from real problems, so a clean system really shows up as clean.

It is a single Go binary. It only reads: it never changes, deletes or installs anything on your system.


Modules

ModuleWhat it checks
networklatency, DNS, optional download speed
diskfilesystem usage and btrfs error counters
smartNVMe/SATA SMART status, temperature, wear (needs root)
memoryRAM and swap
servicesfailed systemd units, system and user
journalerrors of the current boot, known harmless lines filtered out
hyprlandhyprctl configerrors, monitor scale and fractional resolution
packagesorphans, pending updates, cache size, .pacnew files

The report ends with a health score: a healthy module counts 100%, a warning 60% and an error 0%. Skipped modules are ignored.


Installation & Usage

Installation

bash — prebuilt binary, no Go needed
curl -L https://github.com/vam0laa/triage/releases/latest/download/triage-linux-amd64.tar.gz | tar xz triage
sudo install -m755 triage /usr/local/bin/

An arm64 build is in the same release. On Arch, packaging/aur/PKGBUILD in the repository builds a package (not on the AUR yet). Or build from source:

bash — build from source
git clone https://github.com/vam0laa/triage
cd triage
go build -o triage ./cmd/triage
sudo install -m755 triage /usr/local/bin/

Usage

bash — options
triage                    # run every check
triage --only disk,smart  # only some modules
triage --speed            # add a download speed test (~10 MB)
triage --json             # machine-readable output
triage --lang tr          # Turkish for this run
sudo triage --only smart  # SMART needs root

On the first interactive run it asks for your language (English or Türkçe) and remembers the choice. The exit code is 0 when clean, 1 with warnings and 2 with errors, so it works in scripts and timers too.


Requirements & Compatibility

BUILDGo ≥ 1.22
OPTIONALsmartmontools (SMART)
PLATFORMArch Linux · Hyprland
Safe by design

triage is read-only and uploads nothing. A check that needs root is skipped and reported as skipped when you do not have it. The only network traffic is a latency probe, one DNS lookup and the optional speed test.

Repository Link

Source code, issues and the roadmap (a --fix mode and an AUR package are planned) are on GitHub. Released under the MIT license.