Hardware & system probe for Linux (Arch-focused).
- Collects detailed hardware/software info (CPU, GPU, firmware, drivers, etc.).
- Outputs deterministic JSON schema (safe by default with redaction of host/user/serial/MAC/private IP).
- Optional
--deepmode:lsusb -v,udevadm dump, SMART/NVMe details, etc. - Optional
--ziptarball with raw command outputs alongside JSON. - Arch-specific package probe (
pacman -Q) for kernel, mesa, firmware, audio, etc.
# Minimal probe
python3 hw_probe.py --json hw_report.json
# Deep probe (heavier commands)
python3 hw_probe.py --deep --json hw_report.json --zip hw_report.tar.gz
# With sudo (for dmidecode), still redacts identifiers by default
sudo -E python3 hw_probe.py --sudo --deep --json /tmp/hw.jsonMIT
{ "schema_version": 1, "meta": {...}, "env": {...}, "files": {...}, "packages": {...}, "commands": { "<cmd string>": { "ok": true/false, "rc": <int or null>, "timeout": false, "stdout": "<string>", "stderr": "<string>" } }, "notes": [ "...", ... ] }