Hash : be371306 Author : Thomas de Grivel Date : 2019-12-23T22:04:14
Download
1 2 3 4
#!/bin/sh CPUTEMP=$(sysctl -n hw.sensors.cpu0.temp0 | cut -d\ -f 1) MBTEMP=$(sysctl -n hw.sensors.pchtemp0.temp0 | cut -d\ -f 1) echo "${CPUTEMP}°C ${MBTEMP}°C"