Difference between revisions of "Temperature Checking"

From odroid US
Jump to: navigation, search
(Created page with "= Execute this in a shell = <pre>watch "echo -n 'Hostname: ' && hostname && echo -n 'CPU Frequency: ' && cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq && echo -n ...")
 
(Execute this in a shell)
Line 1: Line 1:
 
= Execute this in a shell =
 
= Execute this in a shell =
  
<pre>watch "echo -n 'Hostname: ' && hostname && echo -n 'CPU Frequency: ' && cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq && echo -n 'TEMP: ' && cat /sys/devices/platform/tmu/temperature"</pre>
+
<pre>watch "echo -n 'Hostname: ' && hostname && echo -n 'CPU Frequency: ' && echo $((`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq`/1000))'Mhz' && echo -n 'TEMP: ' && cat /sys/devices/platform/tmu/temperature"</pre>

Revision as of 05:05, 16 January 2013

Execute this in a shell

watch "echo -n 'Hostname: ' && hostname && echo -n 'CPU Frequency: ' && echo $((`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq`/1000))'Mhz' && echo -n 'TEMP: ' && cat /sys/devices/platform/tmu/temperature"