1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

/usr/bin/iiab-summary: Clarify temperature(s)

This commit is contained in:
root 2022-06-28 09:14:24 -04:00
parent 9370f59a44
commit 194bd1a2b4

View file

@ -51,7 +51,7 @@ if [ -f /proc/device-tree/model ]; then
cat /proc/device-tree/model ; echo # MORE RPi DETAIL: tail -4 /proc/cpuinfo
fi
if [ -f /sys/class/thermal/thermal_zone0/temp ]; then
echo "Temp(s): "$(cat /sys/class/thermal/thermal_zone*/temp) # Prettier if avail: vcgencmd measure_temp
echo "Temperature(s): "$(cat /sys/class/thermal/thermal_zone*/temp) # Prettier if avail: vcgencmd measure_temp
fi
#if command -v landscape-sysinfo > /dev/null; then # Slow, Ubuntu Server only
# landscape-sysinfo --sysinfo-plugins=Disk,Temperature,Load # Like: uptime -p