My desktop has a nasty habit. When I have several high intensity applications running and my CPU is at maximum usage for a period of time, the core temperature rises and my computer auto-shuts off.
Is there a way I can monitor (write a script) my CPU temperature in the background and have some sort of warning when it gets above a certain temperature?
I'm running Opensuse with dwm as my window manager. I usually use
sensors to see my CPU temperature.