How-To: Monitor SoC Temperature in Armbian at the Command Prompt

How-To: Monitor SoC Temperature in Armbian at the Command Prompt

Recently, we wanted to monitor the SoC temperature on an Armbian system (ROCKPro64 in this case). Here's a quick one-liner that will allow you to do just that from the terminal (command line), outputting the time and the temperature once per second:

while :; do date; cat /etc/armbianmonitor/datasources/soctemp; sleep 1; done

Here's another method

watch -n 1 cat /etc/armbianmonitor/datasources/soctemp

This is a starting point to make temperature graphs using gnuplot or similar plotting programs.

Let us know how this works for you in the comments below.

Back to blog

1 comment

To the ameridroid.com admin, Thanks for the informative and well-written post!

Lasonya Elem

Leave a comment

Please note, comments need to be approved before they are published.