hqtui — every vital of a box, in the terminal
The HQTUI dashboard, wrapped so it is a command:
hqtui # this machine, live
hqtui --sim # the deterministic simulation
hqtui --screen traffic # open on a screen
hqtui --help # it is upstream's CLI: upstream's flagsTen screens. Beyond CPU, memory, disks and processes it reads what a system
monitor usually leaves alone: live sockets grouped by protocol, TCP/UDP/ICMP
counters with a retransmit rate, HTTP requests parsed out of nginx/apache
access logs, sshd authentication events, who is logged in, wtmp login history,
systemd units, containers, kernel counters and filesystem inode usage.
All of that unprivileged. sudo additionally exposes socket process names,
failed logins from btmp, access logs and the full journal — and sudo drops
your PATH:
sudo -E env "PATH=$PATH" hqtuiIt does not add temperatures. On a VM there are none to add: a KVM or Xen
guest is never shown the host's thermal hardware, and the dashboard says which
case it is rather than leaving the panel blank.
Two flags are ours, spelled --self-* because every plain word belongs to the
dashboard:
hqtui --self-update # reinstall the latest release
hqtui --self-where # which copy runs, and from whereThe first run installs it into ~/.local/share/cli-tools/vendor/hqtui rather
than globally. Both @profullstack/hqtui-demo (hqtui-demo) and the library
@profullstack/hqtui (hqtui, the same name as this wrapper) ship an
executable that would otherwise collide on PATH. Installed rather than
npx-ed because the box you are SSHing into because something is wrong is the
worst moment to need the registry before you can look at it.
Also in this release
root-ubuntu.sh installs the full hardware sensor and inventory set by
default — lm-sensors, i2c-tools, smartmontools, nvme-cli, ipmitool, acpi,
powertop, sysstat, dmidecode, lshw, pciutils, usbutils — and runs
sensors-detect on bare metal only, since on a guest it probes a machine with
no sensor chips and leaves an empty config that reads like a failure.
Upgrading
cli-tools update
# or
curl -fsSL https://raw.githubusercontent.com/profullstack/cli-tools/master/install.sh | sh