This repository has been archived on 2020-06-20. You can view files and clone it, but cannot push or open issues or pull requests.
distro/doc/temp
2020-03-20 13:48:45 +01:00

16 lines
518 B
Plaintext

To read the temperature under linux:
automatic:
1) install lm_sensors
2) run sensors-detect (always answer yes)
3) run sensors
manual:
1) go to /sys/class/hwmon/
2) read the files under ./hwmon{0..n}/name to
determine which device temperature we are reading
3) finally read the file ./hwmon{0..n}/temp{1..n}_input
to get the current temperaturie
Resources:
https://github.com/dylanaraps/neofetch/blob/master/neofetch
https://wiki.archlinux.org/index.php/Fan_speed_control#AMDGPU_sysfs_fan_control