Branch - branch -master
Hash : 2ceeccec Author : Thomas de Grivel Date : 2024-08-08T23:28:37
Download
1 2 3 4 5
#!/bin/sh CPUTEMP=$(sysctl -n hw.sensors.cpu0.temp0 | cut -d\ -f 1) MBTEMP0=$(sysctl -n hw.sensors.acpitz0.temp0 | cut -d\ -f 1) MBTEMP1=$(sysctl -n hw.sensors.acpitz1.temp0 | cut -d\ -f 1) echo "${CPUTEMP}°C ${MBTEMP0}°C ${MBTEMP1}°C"