I would like to know if there is a tool, terminal command or a script that I can run to log my laptop's temperature? I believe my laptop reached its trip point / shutdown temperature so I let it cool for a few minutes, turn my laptop back on and logged in as usual. I ran journalctl --since="yyyy-mm-dd hh:tt" but I cannot see any logs that could triggered the shutdown or listed the current temperature before it was forcibly shut down by the hardware.
I'm not even confident that the laptop's hardware can send any signal to the operating system (Linux) that it is forcing the system to poweroff which is similar to holding the power button of your laptop until it goes off so with that in mind, I am looking for something that periodically monitors and saves the value of the CPU temperature into a logfile at regular intervals.
The laptop's BIOS does not have any logging system (as most consumer based laptops do
