DRSProjects

Docslhwmon

lhwmon documentation

Roadmap

What comes next

lhwmon grows one feature at a time: each step is implemented, covered by unit tests in tests/ (synthetic /sys and /proc trees, see FakeRoot) and checked in the running app before the next one starts.

Guiding rules for every step:

  • No root by default. Read what the kernel exposes to a normal user; anything that needs privileges (MSRs, raw SMART, SPD over SMBus, RAPL on recent kernels) goes through an optional helper later, and the UI says clearly which values need it.
  • No distribution-specific dependencies. Read /sys and /proc directly; dlopen optional vendor libraries (NVML) at runtime; look up database files (pci.ids, usb.ids) in every known location with a bundled fallback.
  • Missing hardware is normal. Every reader returns "unknown" instead of failing; every page has a sensible empty state.

Done

  1. Foundation. Core library (lhwcore, no Qt) with root-prefixed SysFs, test harness, Qt 6 UI shell (sidebar, header, dark theme, own SVG icons), threaded sampler, English + Italian UI, AppImage packaging, CI.
  2. Summary. Live tiles (CPU load, CPU temperature, memory, uptime and load) and identity cards (computer, motherboard, processor, graphics, storage, network).
  3. Sensors. Every hwmon channel grouped by chip with friendly chip names (CPU, NVMe model, DIMM slot, Super I/O), Current / Min / Max / Average, sparkline history, unconnected channels hidden, filter, reset.

Next

  1. Processor page. Per-core load and clock (live bars), topology, caches, instruction-set badges (supported / not supported), cpufreq driver, governor, EPP, boost state, CPU vulnerabilities and mitigations, microcode.
  2. Memory page. RAM and swap usage over time, /proc/meminfo breakdown, zram/zswap, DIMM temperatures; DIMM modules (size, speed, part number) from spd5118/ee1004 EEPROMs when readable.
  3. Motherboard & firmware page. All unprivileged DMI fields, UEFI vs legacy boot, Secure Boot state, Super I/O chip, chassis.
  4. Graphics page. Per GPU: name, board, driver and version, VRAM, PCIe link (current vs maximum), clocks, load, temperatures, power, fan. amdgpu and i915/xe from sysfs; NVIDIA through NVML loaded at runtime. Monitors: EDID decoding (name, size, resolution, refresh, manufacture date).
  5. Storage page. Drives and partitions, file system usage, transport and link speed, live read/write throughput from /sys/block/*/stat, NVMe health log and SATA SMART (through the helper or smartctl --json when available), drive temperature.
  6. Network page. Interfaces, addresses, link speed/duplex, Wi-Fi signal, live up/down rates from /sys/class/net/*/statistics.
  7. Devices page. PCI tree (names from pci.ids, class, driver, link speed/width) and USB tree (speed, power, names from usb.ids).
  8. Power page. Batteries (wear level, cycles, charge/discharge rate), AC state, UPS through power_supply, CPU/GPU package power where exposed (RAPL, amdgpu power1_average).
  9. Operating system page. Distribution, kernel and command line, desktop and session, init system, loaded modules, uptime and boots.

Monitoring features

  1. Sensor customisation. Rename, hide and reorder sensors and chips; per-sensor offset/scale; °C/°F; decimals; saved per machine (keyed by chip id, which survives reboots).
  2. Graph workspace. Drag sensors into zoomable multi-line charts, selectable time window, save as PNG/CSV.
  3. Logging. CSV/JSON logging of selected sensors with interval and file rotation; session markers.
  4. Alerts. Per-sensor thresholds with hysteresis, duration and cooldown; actions: desktop notification, sound, run a command.
  5. Tray and compact widget. Sensor values in the tray (StatusNotifier), always-on-top compact panel.
  6. Diagnostics: "why is this sensor missing?" Detect Super I/O chips without a driver, ACPI resource conflicts, drivetemp not loaded, RAPL permissions, NVIDIA without NVML; show the fix.
  7. Board label profiles. Curated labels and scaling for common Super I/O channels keyed by DMI board name (in4 -> "+12V").

Tools

  1. Report. HTML, plain text and JSON report of every page, with a privacy option that leaves out serial numbers and MAC addresses.
  2. Stability test. CPU, FPU, cache, memory and GPU load with live graphs, throttling detection and a summary of peaks.
  3. Benchmarks. Memory and cache bandwidth/latency, CPU integer, FPU, crypto (AES, SHA-3) and compression tests, with saved results to compare.
  4. Disk benchmark. Read tests (sequential, random, access time); write tests only on explicit, repeated confirmation.
  5. Monitor test patterns. Calibration, grid, colour and dead-pixel screens.

Later

  1. Optional privileged helper (polkit) for MSR, SMART, SPD and RAPL.
  2. Remote monitoring: a headless mode with an authenticated HTTP/JSON and Prometheus endpoint.
  3. Light theme and theme following the desktop.
  4. .deb, .rpm, Flatpak and AUR packages.

Edit this page on GitHub