6
3
I usually use one of the following to check temperature of Linux-based computers:
$ cat /proc/acpi/thermal_zone/THM/temperature
$ acpi -V
$ sensors
However, on the current system I am using (Debian derived distro) the first one doesn't exist and the second does not show the temperature. The third one only worked after convincing the server admin to install lm_sensors. Is there another way to check in the event that for whatever reason a server admin would deny my request to install lm_sensors? From where does lm_sensors get the temp?
Thanks.
1Thank you very much. I did +1 for the information, but neither of my systems have
temp1_input
in thehwmon3
directories. I seem to have onlydevice/
,power/
,subsystem/
,uevent
. Note that these are hardware-installed machines, not virtual machines. – dotancohen – 2014-06-30T05:40:58.877What is the name of the directory
hwmon3
points to on your system? The examples I posted were taken from a real, non-virtualized system (Core i5 processor, MSI H81M-E34 mainboard). – dasup – 2014-07-01T20:16:56.423hwmon0 -> ../../devices/pci0000:00/0000:00:18.3/hwmon/hwmon0
This also is a real, non-virtualized system (MD A4-5300). – dotancohen – 2014-07-02T11:56:32.480