Python Forum

Full Version: Get system info from PI (cpu load and temp)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello ,
wanted to know
how can I read the cpu temperture and load of the pi once every 5 seconds ?

Thanks ,
What operating system is on your pi?

If your running linux you can run the command top or htop and parse the results every 5 seconds. As for cpu temp...check here as it would be similar to any linux distro.
debain
I will ask at PI forum and then I will ask here again

Thanks ,