I'm developing a product with Windows 10 IoT Core on Pi3 and would like to monitor the CPU temperature and speed. I know it's possible when running under Linux, but has anyone done it with Windows IoT?
1 Answer
You could use a Python script to read the CPU usage, temperature, and etc.
How to create python project in windows iot
For install lib (use pip
):
pip install python-psutil
And
import psutil
psutil.cpu_percent()
I tested it on Linux, but also it works on Windows IOT.
-
-
1
-
1I'm not sure the SD card controller has any relevance to using psutil to read temperature.– joanCommented Oct 16, 2016 at 9:02