Untitled
public text v1 · immutablesensors.sh
#!/bin/sh
#
# Monitor cpu, chipset temperatures and fan speed
#
sysctl hw.sensors | grep temp | cut -c 16-31 > /home/username/bin/sensors.out
sysctl hw.sensors | grep fan | cut -c 10-24 >> /home/username/bin/sensors.out
sensors.out
temp0=42.00 degC
temp1=30.50 degC
s.lm1.fan0=4856