Wednesday, May 15, 2024
 Popular · Latest · Hot · Upcoming
18
rated 0 times [  18] [ 0]  / answers: 1 / hits: 5863  / 3 Years ago, fri, may 7, 2021, 4:19:12

Since I am not an American, the following command outputs for example `55000' which means 55°C.



cat /sys/class/thermal/thermal_zone1/temp


Does this command output the temperature in Fahrenheit for computers which are configured US.EN?


More From » kernel

 Answers
5

According to the kernel documentation, lines 221ff, the unit is "millidegree Celsius".
Since this is hard wired into the kernel, I don't think that you can change the unit to fahrenheit by changing the system locale.


[#25040] Saturday, May 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
istmasted

Total Points: 287
Total Questions: 130
Total Answers: 153

Location: Burkina Faso
Member since Thu, Dec 23, 2021
2 Years ago
;