On 2/5/19 11:44 AM, Ulf Volmer wrote:
On 05.02.19 20:28, Samuel Sieb wrote:
> On 2/5/19 9:43 AM, Simone Marchioni wrote:
>> Is there a package with tools to manage HW? Temperature, CPU
>> Frequency, and so on. Or is better to replace vcgencmd with something
>> else?
>
> That information and control should be available through /sys, but I've
> never used a Pi.
cat /sys/class/thermal/thermal_zone0/temp
and divide the result by 1000.
And CPU frequency control and monitoring should be somewhere under
/sys/devices/system/cpu/. Look for *cpufreq*.