< img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=177525256911397&ev=PageView&noscript=1" />

Here's a temperature script

LinuxHippy

New Member
I was using this simple bash script to monitor CPU temperature on my rapberry pi computers and it seems to directly work with the N-4200.


Code:
#! /bin/bash
cat /sys/class/thermal/thermal_zone0/temp

It gives the temperature in degrees C and adds three place holders to that.  So mine shows 46000 which is 46 degrees C.

Marty
 

LinuxHippy

New Member
So what is the operating temperature range for this PC? Right now I have 41 C but it is the middle of winter here too.

Marty
 

AlaskaLinuxUser

New Member
LinuxHippy said:
I was using this simple bash script to monitor CPU temperature on my rapberry pi computers and it seems to directly work with the N-4200.


Code:
#! /bin/bash
cat /sys/class/thermal/thermal_zone0/temp

It gives the temperature in degrees C and adds three place holders to that.  So mine shows 46000 which is 46 degrees C.

Marty
Psensors works as well, if you are on Ubuntu. I like your script though, I tend to use Conky a lot, which you can execute the scripts in, or just execute the command directly.
 

LinuxHippy

New Member
I like psensor.  I use Mint but it's in the repo:

sudo apt-get install psensor

I changed it to write to a log every minute.  It sets off an alarm at the max temperature it looks like so I may put a shutdown script there when the alarm goes off.  What is the max temperature this mini PC should operate at?

Marty
 
Top Bottom