Difference between revisions of "Temperature Checking"

From odroid US
Jump to: navigation, search
(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: ' && echo $((`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq`/1000))'Mhz' && echo -n 'TEMP: ' && cat /sys/devices/platform/tmu/temperature"</pre>
+
<pre>
 +
watch "echo -n 'Hostname: ' && hostname && echo -n 'CPU Frequency: ' \
 +
&& echo $((`sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq` /1000))'Mhz' \
 +
&& echo -n 'TEMP: ' && sudo cat /sys/devices/platform/tmu/temperature"
 +
 
 +
</pre>

Revision as of 02:56, 9 February 2013

Execute this in a shell

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