Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CPU temperature readout

Featured Replies

When I login on the console, there is this display with a bunch of information, including the CPU temp.  I have need to keep track of my CPU's temp, since it seems to be overheating (I have a heat sink on it, but does not seem to be enough -- I have a fan on order).  I want to be able to check the temp from time to time, so I would like to run at least the part of the login banner program.  What program is that?  I am not seeing anything obvious in /bin.

Solved by Robert Heller

  • Author
6 minutes ago, Werner said:

Providing logs with 

armbianmonitor -u

 helps with troubleshooting and significantly raises chances that issue gets addressed.

I don't need troubleshooting help. I am just want to know what the cpu temperature it.

  • Author
2 minutes ago, Werner said:

the motd temp comes from /etc/armbianmonitor/soctemp

 

OK, that is some large integer (and that is the wrong pathname -- the correct one is /etc/armbianmonitor/datasources/soctemp, which is a symlink to /sys/class/hwmon/hwmon0/temp1_input).  How is that converted to something like centagrade, etc.?  That is what units are the values under /sys/class/hwmon/hwmon0/?

BTW: I was already away of /sys/class/hwmon/.  I am looking for a more "human friendly" output, which I presume exists, since the motd output has it.  Or are you telling me that every time I want to check the CPU temp I need to go to a blank virtual term and log in?

  • Author
  • Solution

OK, with more groveling I found /etc/update-motd.d/30-armbian-sysinfo, and it looks like /etc/armbianmonitor/datasources/soctemp (aka /sys/class/hwmon/hwmon0/temp1_input) in units of .001 C.  This is all I need.  Thanks.

3 minutes ago, Robert Heller said:

/etc/armbianmonitor/datasources/soctemp

Yes, my bad.

I know it is a symlink but I was not sure if that does not differ depending on SoC ;)

 

 

I just wanted to write about those scripts in /etc/update-motd.d you mentioned but you were faster :)

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.