Advertisements

 

Recent comments
Main | Runkeeper is spyware free now »
Wednesday
Jun302010

Poor man's cpu temp watcher

It's getting hot in our small country! Temperatures above 37 degrees Celcius (99 deg. F) are expected tomorrow. Will the servers in our compound stand the heat? No need for alarming applications which only produce more heat, just a few bash lines using the unix 'sensors' command will do!

 

First make sure your sensors are set up right. Run the command 'sensors-detect' to automatically generate a suitable config file for your cpu board. Answer default on all questions. Then try to run the 'sensors' command and find out if your cpu temperature is reported.

 

The script:

#!/bin/bash

TEMP1=`sensors | grep  'temp2' | cut -c15-16`
sleep 1
TEMP2=`sensors | grep  'temp2' | cut -c15-16`
sleep 1
TEMP3=`sensors | grep  'temp2' | cut -c15-16`

AVG_TEMP=$((($TEMP1+$TEMP2+$TEMP3)/3))

echo $TEMP1
echo $TEMP2
echo $TEMP3
echo $AVG_TEMP

if [ "$AVG_TEMP" -gt 45 ]; then
    echo "Average of three $TEMP1 $TEMP2 $TEMP3" | mail -s "Temperature alert! Average $AVG_TEMP celcius" captainftfb@dutchtechies.com
fi

 

And place the script in a cronjob, running every half hour.

 

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (5)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    Response: EyLNKv
    UVSrvHkK
  • Response
    Response: ci.ravenna.oh.us
    Poor man's cpu temp watcher - Dutchtechies blog - dutchtechies
  • Response
    Poor man's cpu temp watcher - Dutchtechies blog - dutchtechies
  • Response
    Poor man's cpu temp watcher - Dutchtechies blog - dutchtechies
  • Response
    Poor man's cpu temp watcher - Dutchtechies blog - dutchtechies

Reader Comments (24)

Omaeda Marechiyo cosplay können mit dieser Bleach Kostüm getan werden. Erstens ist es aus Baumwolle. Werfen Sie einen Blick, Sie regelmäßige Struktur auf dem Stoff zu finden. Dadurch sein kunstvoll gefertigt, es wird Ihnen während der gesamten Messe Komfort. Nur waschen Sie es in kaltem Wasser und line es trocken, es wird nicht aus der Form leicht für detaillierte Informationen über die Länge mehr Teile, können Sie auf der Produkt-Seite auf unserer Website unter efox-shop.com.
<p> cosplay   </p>
Naruto cosplay
<p>cosplay perücken

http://www.efox-shop.com/kleidung-accessoires-cosplay-c-634_641

August 26, 2011 | Unregistered Commentercosplay

It’s really a nice and helpful piece of information.
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie uk
Abercrombie Fitch uk
Abercrombie & Fitch uk
Abercrombie and Fitch uk
Abercrombie outlet
Abercrombie online
Abercrcrombie store
Abercrombie shop
Abercrombie
I’m glad that you shared this helpful info with us. Please keep us informed like this. Thanks for sharing.
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie uk
Abercrombie Fitch uk
Abercrombie & Fitch uk
Abercrombie and Fitch uk
Abercrombie outlet
Abercrombie online
Abercrcrombie store
Abercrombie shop
Abercrombie
What a fun pattern! It's great to hear from you and see what you've sent up to.
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Milano
Abercrombie Fitch Milano
Abercrombie & Fitch Milano
Abercrombie and Fitch Milano
Abercrombie Italia
Abercrombie Fitch Italia
Abercrombie and Fitch Italia
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Milano
Abercrombie Fitch Milano
Abercrombie & Fitch Milano
Abercrombie and Fitch Milano
Abercrombie Italia
Abercrombie Fitch Italia
Abercrombie and Fitch Italia
Abercrombie
Abercrombie & Fitch
All of the projects look great! You make it so simple to this. Thanks
Abercrombie and Fitch
Abercrombie Deutschland
Abercrombie Fitch Deutschland
Abercrombie & Fitch Deutschland
Abercrombie and Fitch Deutschland
Hollister Deutschland
Hollister Frankfurt
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Deutschland
Abercrombie Fitch Deutschland
Abercrombie & Fitch Deutschland
Abercrombie and Fitch Deutschland
Hollister Deutschland
Hollister Frankfurt
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie London
Abercrombie Fitch London
Abercrombie & Fitch London
Abercrombie and Fitch London
Abercrombie outlet
Abercrombie online
Abercrcrombie hoodies
Abercrombie men
Abercrombie women
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie London
Abercrombie Fitch London
Abercrombie & Fitch London
Abercrombie and Fitch London
Abercrombie outlet
Abercrombie online
Abercrcrombie hoodies
I am often to blogging and i really appreciate your content.
Abercrombie men
Abercrombie women
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Paris
Abercrombie Fitch Paris
Abercrombie & Fitch Paris
Abercrombie and Fitch Paris
Abercrombie France
Abercrombie Fitch France
Abercrombie and Fitch France
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Paris
Abercrombie Fitch Paris
Abercrombie & Fitch Paris
Abercrombie and Fitch Paris
Abercrombie France
Abercrombie Fitch France
Abercrombie and Fitch France
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Hollister
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Deutschland
Abercrombie Fitch Deutschland
Abercrombie & Fitch Deutschland
Abercrombie and Fitch Deutschland
Hollister Deutschland
Hollister Frankfurt
tiffany uk
tiffany London
tiffany outlet
tiffany online
The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.
tiffany jewelry
tiffany co
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie London
Abercrombie Fitch London
Abercrombie & Fitch London
Abercrombie and Fitch London
Abercrombie outlet
Abercrombie online
Abercrcrombie hoodies
Abercrombie men
Abercrombie women
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie uk
Abercrombie Fitch uk
Abercrombie & Fitch uk
Abercrombie and Fitch uk
Abercrombie outlet
Abercrombie online
Abercrcrombie store
Abercrombie shop
jack wills
jack wills outlet
jack wills online
jack wills clothing
jack wills uk
jack wills clearance
jack wills sale
A unique discussion merits a comment. I LOVE YOU

September 18, 2011 | Unregistered Commenterdwadwa

1は、上側のプーマV - Konstrukt IIIサッカーシューズはカブーツ 激安ガルー革、合成皮革を使用し、デザインの革三位一体、カンガルー革のサッカーシューズ、人々のプレーのペースをより快適にすることができるという効果へのソフトの責任であり、革の使用は足の皮質の部分に配置されている段ボール素材でより多くブーツ 人気の保護を提供するために、足の良いサッカーシューズの形状を、保持するために優れている、強化、サッカーとスニーカーの間の摩擦を増やすことができます、プーマV - Konstrukt IIIは、隠しレースの設計のときにサッカーのジョーダンシューズーコントロールは、レースは、このように攻撃の面積の靴を増やし、接触面が大きいのでより多くのサッカーシューズがあるように、舌の下に隠れる。 2、ヒールプーマV - Konstrukt IIIサッカーの靴のヒール、TPUは、かかとのスポーツより安定した部分で選手を作り、外部のかかとの部分を注入した。このようにかかとの怪我の高速運動の生成を防止。 3、セルの唯一プーマV - Konstrukt IIIサッカーシューズプーマ独自の唯一の使用は、細胞のバッファリングでスニーカーす。不規則なスパイクやすさの最大の度合いは、反応のペースに直面する。スポーツの選手が少ない抵抗を生成することができます。

November 14, 2011 | Unregistered Commenterミズノ サッカー

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>