CPU Temperature

What is the best way to get the CPU temperature from the command line? The typical sensors from lm-sensors doesn’t work. I can get it externally with a thermocouple, but I’d like it from the command line too.

Thanks,

-Jeff

There is no temperature sensor in the U540 chip or on the unleashed board. Sorry. :frowning:

If you want to use an external sensor you’ve attached, you presumably need to add support for that device in the kernel before lm-sensors can use it.

We’re going to measure externally for now with a Fluke and a thermocouple. Here’s a drawing:

https://github.com/forksand/hifive-unleashed-case/blob/master/CNC/hifive-heatsink-thermocouple.pdf

-Jeff