Quantcast
Channel: Recent Topics - INDI Forum
Viewing all articles
Browse latest Browse all 15748

keep it cool.... - by: Gonzothegreat

$
0
0
How cold is the CPU in your observatory server? :woohoo:

root@heidenrod-obs:~# cpu_temp
32 °C
root@heidenrod-obs:~#
# date
Sun Dec 16 13:13:23 CET 2018


root@heidenrod-obs:~# more /usr/bin/cpu_temp
#!/bin/bash
# Read cpu temperature
tempread=`cat /sys/class/thermal/thermal_zone0/temp`
temp=`echo "scale=0; $tempread / 1000" | bc`
# Wert ausgeben
echo $temp $'\xc2\xb0'C
root@heidenrod-obs:~#


Viewing all articles
Browse latest Browse all 15748

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>