Use salmon to monitor the temperature of various thermal zones, to sound a warning when any one of them reaches a warning temperature and to execute shutdown if it passes a critical temperature.
- Thermal zone monitor:
$ salmon read :Zones
- :Zones
- foreground=green
- magnify 4
- appname=Zones
- thermtime=1
- line=thermal=0_warning=90_critical=95_sound=1_sound1=4
- line=thermal=1_warning=90_critical=95_sound=1_sound1=4
- line=thermal=2_warning=90_critical=95_sound=1_sound1=4
- line=thermal=3_warning=90_critical=95_sound=1_sound1=4
- line=thermal=4_warning=90_critical=95_sound=1_sound1=4
- line=thermal=5_warning=90_critical=95_sound=1_sound1=4
* * o * *