FOREWORD:
My system frozen 2 times in last 24 hours (first freeze network was working, so probably CPU etc also; but display nor keyboard was responding). On next freeze, the display was working, but frozen and keyboard and network not working while cpu, disk activity was shown as zero on display). I do not know if any logs persist computer reset, what is that log path. dmesg shows since boot only.
TEMPERATURE MONITORING:
I had kernel linux 5.11 + XFCE and i read that i can monitor the temperature of the hardware so i have tried:
$ systemctl start sensord
Job for sensord.service failed because the control process exited with error code.
See “systemctl status sensord.service” and “journalctl -xe” for details.
$ journalctl -xe
systemd[1]: Starting Log hardware monitoring data…
sensord[3886449]: /usr/sbin/sensord: error while loading shared libraries: librrd.so.8: cannot open shared object file: No such file or directory
systemd[1]: sensord.service: Control process exited, code=exited, status=127/n/a
$ pamac search rrd
$ pamac install rrdtool
$ systemctl start sensord
OK, no error
Decreased logging interval:
sudo sed -i “s|LOG_INTERVAL=30m|LOG_INTERVAL=1m|g” /etc/conf.d/sensord
Can this help something? Where it is logged/is preserved after computer reset?
I do not see it:
sudo grep -Ri sensor /var/log 2>/dev/null
At least it is in: journalctl -u sensord
btw. another way to log temperatures to file is: https://askubuntu.com/a/637483