CommentStreams:02ab4f44e378a3069f22cdc6e5c437d7
pi@raspberrypi:~/xscript $ sudo systemctl status x-c1-fan.service ● x-c1-fan.service - Daemon to monitor and control fan speed
Loaded: loaded (/lib/systemd/system/x-c1-fan.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2023-09-14 07:29:03 BST; 58min ago
Main PID: 461 (bash)
Tasks: 2 (limit: 1599)
CPU: 18.604s
CGroup: /system.slice/x-c1-fan.service
├─ 461 bash /usr/local/bin/x-c1-fan.sh
└─41092 sleep 5
Sep 14 08:21:51 raspberrypi x-c1-fan.sh[461]: Fan speed changed to 80, temp is 74.01 Sep 14 08:22:01 raspberrypi x-c1-fan.sh[461]: Fan speed changed to 100, temp is 74.98 Sep 14 08:24:07 raspberrypi x-c1-fan.sh[461]: Fan speed changed to 80, temp is 74.50 Sep 14 08:24:12 raspberrypi x-c1-fan.sh[461]: Fan speed changed to 100, temp is 75.47 Sep 14 08:24:27 raspberrypi x-c1-fan.sh[461]: Fan speed changed to 80, temp is 74.50 Sep 14 08:24:32 raspberrypi x-c1-fan.sh[461]: Fan speed changed to 100, temp is 75.96 Sep 14 08:24:37 raspberrypi x-c1-fan.sh[461]: Fan speed changed to 80, temp is 74.50 Sep 14 08:24:42 raspberrypi x-c1-fan.sh[461]: Fan speed changed to 100, temp is 75.47