panel
panel is an xfce4-genmon-compatible tool for displaying system information. Its output is numeric statistics with icons. It is written in Go.
Installation
go install crdx.org/panel@latest
Usage
Configure xfce4-genmon to run the binary at the desired interval. Every two seconds is recommended.
Segments
Each segment is shown without a unit to save space, and they remain consistent so they can be memorised.
The values are shown at a consistent number of significant figures so that fluctuations in the values do not move the numbers on the panel around (as this is jarring).
CPU Load
The 1-minute CPU load average value from /proc/loadavg
.
Unit: load average to 3 sf and up to 1 dp.
Temperature
The CPU and maybe GPU temperature.
The CPU temperature is read from a call to sensors coretemp-isa-0000
, preferring the first value from [Tdie
, Package id 0
].
The GPU temperature is read from a call to nvidia-smi
if the binary exists, otherwise not displayed.
Systems vary wildly so this segment may need some tweaking.
Unit: celcius to 2 sf and 0 dp.
Network Up/Down
Network traffic from interfaces matching ^(enp|eno|wlp)
summed up from /proc/net/dev
.
Unit: gigabytes to 4 sf and up to 3 dp.
Memory Usage
Total system memory usage calculated from /proc/meminfo
in the same way as free
does it.
Unit: gigabyes to 3 sf and up to 2 dp.
Contributions
Open an issue or send a pull request.
Licence
GPLv3.