A small LCDproc patch adding a custom screen aggregating CPU, memory and temperature info. It is geared towards the Raspberry Pi (any model) and a 4x20 LCD:
+--------------------+
|##### CPU MEM #####@|
|----|----|----|----|| CPU usage gauge per core
|%[-----------------]| Total CPU usage gauge
|E-------F T: XX°C | Memory usage gauge and current core temperature
+--------------------+
Temperature information is gathered from /sys/class/thermal/thermal_zone0/temp
and can be adapted for other paths in clients/lcdproc/machine_Linux.c
. The other information is based on LCDproc built-ins.
Since it is not portable and hardware specific, there is no reason to commit this upstream, so the patch is published here. Of course you can achieve the same with a perl/python/whatever script without having to touch the lcdproc sources, but I took this approach because it was the most convenient way for me.
Comments, improvements, corrections, and rants welcome...
Activate the [Total]
screen in your lcdproc.conf