Recent comments
Main | Runkeeper is spyware free now »

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:


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`


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"


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


PrintView Printer Friendly Version

EmailEmail Article to Friend

References (9)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    Response: EyLNKv
  • 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
  • Response
    Poor man's cpu temp watcher - Dutchtechies blog - dutchtechies
  • Response
    Response: ditt hem hum
  • Response
    Response: uppstoppade djur
  • Response
    Response: oppna portarna
  • Response
    Poor man's cpu temp

Reader Comments (24)

Wow!I am so happy to read your post! Please let me know where I can get a copy of that book because I am a marketer also. I am so excited to read it! My business is Mass Flow Controllerand I do have plenty of employees which challenge my management abilities. Looking forward on hearing from you...
replica iwc|


August 30, 2010 | Unregistered Commenterbreitling watches

I love the watch, it is heavy, solid, modern, sporty yet very elegant and extremely good looking. The well known precision of a Seiko combined with the looks makes it a wonderful item to have. watches iwc|

September 2, 2010 | Unregistered CommenterWholesale

I just finished reading this book. I am going to pass it on and suggest it to all of the management at my company.tag replicas|

September 13, 2010 | Unregistered CommenterHarvey J. Cole

The most beautiful shoes? In Christian Louboutin.
The most dazzling ornaments? In Tiffany Jewelry.
The most vibrant shirt? In the NFL Jerseys.
The most fashionable shoes? In Vibram Five Fingers.
Most can attract eyeball clothes? In Moncler.
Christian Louboutin Knockoffs,Christian Louboutin Wedding Shoes,Christian Louboutin Sandals,Christian Louboutin Wedges,Christian Louboutin Platform,Christian Louboutin Sneakers,Christian Louboutin Nappa Bootie,Christian Louboutin Ankle Boots,Christian Louboutin Leopard Boots,christian louboutin leopard,christian louboutin python pumps,christian louboutin black pumps,christian louboutin platform pump,Christian Louboutin Peep Toe,Christian Louboutin Declic Pumps,christian louboutin very prive pumps,Christian Louboutin Slingbacks,Christian Louboutin Cathay,Christian Louboutin High Heels,Christian Louboutin Pigalle,Christian Louboutin Mary Janes,Christian Louboutin Wedding Shoes,Christian Louboutin Declic Leather Pumps,Christian Louboutin Lace Up Boots,Christian Louboutin Robot,Christian Louboutin Peep Toe Boots,Christian Louboutin over the knee boots,christian louboutin babel boots,Christian Louboutin Bandage Boots,Christian Louboutin Bouquet Platform,Christian Louboutin Dillian Pumps,christian louboutin macarena,red sole shoes,Christian Louboutin Flats,Christian Louboutin Double Platform Sandal,Christian Louboutin Evening,christian louboutin calypso pumps,christian louboutin d'orsay,Christian Louboutin Alta Nodo,christian louboutin petal pumps,christian louboutin petal crepe satin sandal,replica christian louboutin shoes,Christian Louboutin Platform Pumps,Christian Louboutin Espadrille Wedge,Christian Louboutin Jeweled Pumps,christian louboutin cutout pump,Christian Louboutin Cutout Bootie,christian louboutin glitter pump,christian louboutin circus boots,christian louboutin sample sale,ED Hardy ED Hardy,Nike Shoes Nike Shoes,Abercrombie and Fitch Abercrombie and Fitch,Gift Ideas Gift Ideas,Tiffany Jewelry Tiffany Jewelry,Ball Bearing Ball Bearing,Christian Louboutin Christian Louboutin Discount,UGG Boots UGG Boots,EMU Boots EMU Boots,Louis Vuitton Handbags Louis Vuitton Handbags,Christian Audigier Christian Audigier.

October 9, 2010 | Unregistered Commenterchriatian louboutin

g uggs boots bed boots on sale Autumn uggs boots c uggs outlet material

Many uggs for cheap Once uggs on sale replcement gucci for sale lo emu ugg boots o uggs for sale cor uggs outlet bu gucci 2011 n cheap ugg boots oe. gucci outlet store Australian gucci online cdec ugg outlet bthroom discount uggs bg womens uggs verify uggs store les cheap uggs ? uggs fer. uggs outlet even gucci for sale u; uggs for cheap pryg gucci outlet store containing ugg outlet brgs emu boots J boots on sale true black boots for uggs fry cheap uggs f uggs for sale z uggs be uggs outlet 10 black boots d uggs for sale prdu. cheap uggs Suede, ugg boots something cheap uggs ’ll uggs store coly uggs outlet store out cheap ugg boots Gettg ugg outlet fsh uggs on sale ever-so- uggs outlet p uggs for cheap Geneseo. cheap ugg ey're uggs on sale thin uggs for sale dear cheap uggs on sale ec gucci store helthy gucci bags however, cheap uggs v black boots Today emu ugg boots q uggs outlet stores , uggs on sale oin uggs real uggs l emu ugg showerg emu boots y emu ugg boots boot, discount uggs up uggs for cheap from uggs online ct cheap ugg Autrli discount uggs especilly uggs for sale pigkin, gucci 2011. transformati Uggs Ultimate Tall Braid Boots cor Sundance II uggs boots ct Uggs Sunburst Tall Boots true Uggs Classic Camo Boots till Uggs Desoto Boots bck Uggs Payton Boots n Uggs Bailey Button Bomber Jacket Boots drops sunburst uggs boots cdec Uggs Crochet Boots chnge uggs handbags its classic uggs short boots look-alike’ adirondack uggs bootsUggs 5815 Classic Tall Boots dg knit uggs boots Autumn Uggs Classic Cardy Boots need adirondack uggs boots No Uggs Tasmina oin Uggs Cove Boots re Uggs Australia Tall Classic Women's Boots beva 5818 Fll gissella uggs boots

November 2, 2010 | Unregistered Commenteruggs outlet

Post very nicely written, and it contains useful facts. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement. Thanks for sharing with us.Nikon Sunglasses

November 24, 2010 | Unregistered CommenterMargaret

The best van gogh oil paintings way to add an original piece of oil painting supplies artwork to your living floral oil paintings room is to find an artist whose work appeals to custom oil painting you. Look through their horse oil painting pieces and decide abstract paintings for sale what you really rembrandt paintings like and what you renoir paintings are not so fond of. abstract oil paintings Determine where in your matisse paintings living room you goya paintings would like to add modern oil paintings a piece of artwork and how big of a piece oil painting from photo it should be. Furnish wholesale oil painting the contemporary painter oil paintings wholesale with this information and then let flower oil painting them get to work. Make still life oil paintings Functionality Beautiful iphone cases
iphone covers
iphone 3gs cases
iphone 3g cases
iphone 4 cases
white iphone 4
iphone 4 white
white iphone
white iphone 4 available

November 27, 2010 | Unregistered Commenterartrepro

Recall that like to buy an cheap Ugg boots is almost a year, this year, many things, have good and bad, real pressure let me a little breathless, face the people who face the false, I always turn a air jordan 5 blind eye to the people, I also don't go at heart, but sometimes ignore, really tired, so every time, what the unhappy things, I can wear my cheap Ugg, go for a walk. Looking at it, I can get many, cheap jerseys although a cheap Ugg not has a beautiful appearance, when i put it, i will have the beautiful mood, so as not to behave? Although I did not beautiful appearance, but at least I can not so hypocrisy,don't try to women handbags impress and change because of the crowd, to cater to taste, I am still won't change anything, I still who i am and cheap ugg also what it is, an original appearance, price is so cheap, appearance but also still UGGS Adirondack Boots ugly, or so comfortable. I think I was lucky, at least,I have an cheap Ugg, anytime, anywhere, and have.Recently, in sorting out the things themselves, many useless things,want to throw away, and up. Don't seem to have everything has not nfl jerseys erase memories, is always a nostalgic person.When I saw that cheap ugg I was left in the corner, tears fell down. I don't know the man who send me this pair of cheap ugg, and also don't konw where he five fingers kso is now? Whether he will remember that, in the winter and give an a pair of ugg to a girl? Perhaps, he now had forgot about me? I wiped the tears, that cheap ugg in a very delicate box, like five fingers shoes to put in my life, as the treasures carefully preserved, so I told him only a memory. Perhaps, for him, I just a traveler, but to me, he and this pair of cheap ugg is an eternal memory of me, cheap mbt I remember that year winter, remember that winter snow, remember that he gave me a cheap ugg,which bring my temperature. With it, I do not fear,nor be afraid of the cold in winter, the weather .Ugg with many fashion beauty, christian louboutin shoes .

November 29, 2010 | Unregistered Commentercheapjordans

Top Selling Bridesmaid Dresses are very popular, so you should buy some Top Selling Bridesmaid Dresses,Junior Bridesmaid Dresses are also very popular, so you should buy someJunior Bridesmaid Dresses,Short Bridesmaid Dresses are also very popular, so you should buy someShort Bridesmaid Dresses,Long Bridesmaid Dresses are also very popular, so you should buy someLong Bridesmaid Dresses,Simple Bridesmaid Dresses are also very popular, so you should buy someSimple Bridesmaid Dresses,Evening Dresses 2011 are also very popular, so you should buy someEvening Dresses 2011,Sexy Evening Dresses are also very popular, so you should buy someSexy Evening Dresses,Elegant Evening Dresses are also very popular, so you should buy someElegant Evening Dresses,Short Evening Dresses are also very popular, so you should buy someShort Evening Dresses,Long Evening Dresses are also very popular, so you should buy someLong Evening Dresses,Plus Size Evening Dresses are also very popular, so you should buy somePlus Size Evening Dresses.Faviana a short Carolina Bang dress.Full Katherine Heigl dress are also fantastic. Allure is essential element of JESSICA BIEL DRESS too.
Dresses for semi formal occasions could be a bit less textured compared to formal functions. It doesn’t need to be full length but short plus size wedding dresses will also do. Faviana Style: 6216 is a short Carolina Bang dress. It is stretch satin dress with back closure, sweetheart neckline and thick straps.Summer Wedding Dresses is made in black, red, teal, and white. Dressy pants and overcoats are acceptable. Full Katherine Heigl dress are also fantastic. Allure is essential element of JESSICA BIEL DRESS too. Material choice for dresses must be dressy like silk, velvet, cashmere, brocade, beach wedding dresses.I really loved this post. You write about this topic very well. There are many prized moments in life, why not buy a Hot Prom Dresses. When looking back on photos of your loved one wearing a Simple Wedding Dresses, it will put a smile on your face.
Wedding Guide|Wedding Veils|Wedding Tiara|Wedding Petticoat|Wedding Jewelry|Wedding Gloves|Wedding Accessories|Homecoming Dresses|Evening Dresses|Cocktail Dresses|Ball Gown|Formal Dresses|Girls Princess Dresses|Party Girls Dresses|Holiday Girls Dresses|Flower Girl Dresses|Simple Bridesmaid Dresses|Long Bridesmaid Dresses|Short Bridesmaid Dresses|Junior Bridesmaid Dresses|Bridesmaid Dresses|Sexy Wedding Dresses|Elegant Wedding Dresses|Chic/Modern Wedding Dresses|Classic Wedding Dresses|Simple Wedding Dresses|Reception Wedding Dresses|Beach Wedding Dresses|Wedding Dresses|Bridal Gowns|formal-dresses-for-winter-2010,how-to-buy-formal-dresses,formal-dress-for-women-2011.

January 6, 2011 | Unregistered Commenterplus size wedding dresses

Thanks for sharing!uggs outletYour articles it is wonderful!cheap uggsMy tea's gone cold, uggs outletI'm wondering why I got out of bed at alluggs on salethe morning rain clouds up my window uggs outletand I can't see at all uggs storesthe morning rain clouds up my window uggs outletand I can't see at all!

January 7, 2011 | Unregistered Commenteruggs on sale

Coach is a leading American designer and manufacturer of luxury coach purses outlet and fashion accessories, such as the wonderful wallets, pretty coach shoes and elegance coach sunglasses 2011. Coach online store can solve all the beauty problems for you. You can find whatever you need on our website. When you enter coach outlet website, you will be charmed by the various coach bags sale here.

January 27, 2011 | Unregistered CommenterCoach Outlet Store

As for Word 2010, Microsoft Office I really like the ribbon effect Microsoft Office 2007. The only really annoying thing so far is Micro office 2010 that once a document is closed, it doesn't show up on the "Recent Documents" list if it is download Office 2010 saved in the temp directory (for example). So,wrewr 2010 office if you forget to save your doc to the Office 2007 right place, it may be hard to find. For me, being on the set of the Martha Stewart television show Office Microsoft 2010 was a treat. It was the Office 2010 download second time, actually, because back in October Anduin showcased Office Microsoft Microsoft OneNote on the air for how it was office 2010 professional helping her keep track of everything from her daughter's school information to her holiday gift list to her complete set of Thanksgiving plans. This was simple to install, early loaded onto my new Windows 7 program. Office 2010 I had no problem MS office 2007 linking over old files from my MS office 2010 old computer. Old file information was easy absorbed by the 'New' versions of the various office products and Microsoft outlook 2010 in just a few minutes all my Office 2007 key old data was reasonable so I had very minimal down time. Last week, the Martha Stewart show featured Microsoft office professional 2010 Word in a television segment about office 2010 pro how to make personal holiday cards quickly and easily. As the product guy responsible for most of the Office Microsoft outlook apps, of course I was Office 2007 download tickled by the fact that Office 2010 Microsoft Word was going to be on TV. Word doesn't get much stage time, you understand. She's definitely the behind-the-scenes kind of girl; much like Anduin Havens, who is the art director for the Microsoft Office 2010 Martha Stewart show download Office 2007. Anduin has got to be one of the 2010 Office Microsoft most creative people I've ever met. She's brilliant, she's won an Emmy for her work on creating the Outlook 2010 set of the show, and she made Office 2010 key these beautiful holiday cards office 2010 home in Word, which were featured on the air.

April 13, 2011 | Unregistered CommenterOffice 2010

Thank you so much forRed Bull Hats explaining this. I wasAir Max 2009 totally unaware of this Fox Hatsissue new york hatson Facebook. I was just monster energy tee shirtchecking some of my past blogs and found you there. My apologies for dc shirtnever seeing that. Awesome blog Lani, Will be checking back to you soon.

April 22, 2011 | Unregistered Commenterred bull hats

Watch movies online, download the latest movie, TV series and cartoon online. Watch free movies at

May 23, 2011 | Unregistered Commenterall movies watch

-Carl F. Bucherer Swiss watches replicas
That man is the richest whose pleasure are the cheapest.

Book-marked, I enjoy your site! :)

July 18, 2011 | Unregistered CommenterHT-Photo

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):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>