Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #1514

Re: How to monitor and graph the temperature of my CPU

Date 2011-06-29 13:39 +0200
From Anton Meyninger <anton.meyninger@gmail.com>
Newsgroups comp.os.linux.misc
Subject Re: How to monitor and graph the temperature of my CPU
References <4e0aead2$1@news.x-privat.org> <22199232.ccB17b2Yhd@thepub.lan>
Message-ID <4e0b0ee5$2@news.x-privat.org> (permalink)
Organization X-Privat.Org NNTP Server - http://www.x-privat.org

Show all headers | View raw


Am 29.06.2011 12:38, schrieb yowie:
> Anton Meyninger wrote:
>
>> Hi everyone,
>>
>> Is there a possibility to regulary grab the temperature of my pc / cpu
>> and write it in a file, so that I can later graph it or send it to me
>> via E-Mail?
>>
>> I am using Ubuntu 11.04 x64.
>>
> <http://minorstuff.wordpress.com/2011/05/30/cpuhdd-temperature-graph-in-linux/>
Thanks,
I solved it doing the following:
Creating a script named however you like

#!/bin/sh
/usr/bin/sensors | /bin/grep '^temp1:' |  awk '{print($2) }' | cut -c 
2-5 >> /home/anton/temps

adding the following line to crontab (executing it every 5 minutes)

0-59/5 * * * *  root    /home/anton/appz/tempmon/tempmon


And then plotting it manually with

echo 'plot "/home/anton/temps" using 1 with line title "CPU", "" using 2 
with line title "HDD"' | gnuplot -persist -

Probably this will look some different for any other system, but thats a 
beginning, isn't it? ;)

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to monitor and graph the temperature of my CPU Anton Meyninger <anton.meyninger@gmail.com> - 2011-06-29 11:05 +0200
  Re: How to monitor and graph the temperature of my CPU yowie <yowie@thepub.lan> - 2011-06-29 20:08 +0930
    Re: How to monitor and graph the temperature of my CPU Anton Meyninger <anton.meyninger@gmail.com> - 2011-06-29 13:39 +0200
      Re: How to monitor and graph the temperature of my CPU ofnuts <o.f.n.u.t.s@la.poste.net> - 2011-06-30 23:52 +0200
        Re: How to monitor and graph the temperature of my CPU Todd <Todd@invalid.com> - 2011-06-30 17:02 -0700
          Re: How to monitor and graph the temperature of my CPU GangGreene <GangGreene@invalid.com> - 2011-07-01 05:33 -0400
            Re: How to monitor and graph the temperature of my CPU "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2011-07-01 14:07 -0400
            Re: How to monitor and graph the temperature of my CPU Todd <Todd@invalid.com> - 2011-07-01 17:13 -0700
            Re: How to monitor and graph the temperature of my CPU Anton Meyninger <anton.meyninger@gmail.com> - 2011-07-02 13:43 +0200
  Re: How to monitor and graph the temperature of my CPU J G Miller <miller@yoyo.ORG> - 2011-06-29 11:45 +0000
    Re: How to monitor and graph the temperature of my CPU The Natural Philosopher <tnp@invalid.invalid> - 2011-06-29 15:20 +0100
      Re: How to monitor and graph the temperature of my CPU J G Miller <miller@yoyo.ORG> - 2011-06-29 19:34 +0000
  Re: How to monitor and graph the temperature of my CPU Man-wai Chang <toylet.toylet@gmail.com> - 2011-06-29 22:40 +0800
    Re: How to monitor and graph the temperature of my CPU J G Miller <miller@yoyo.ORG> - 2011-06-29 19:44 +0000
      Re: How to monitor and graph the temperature of my CPU Man-wai Chang <toylet.toylet@gmail.com> - 2011-06-30 18:33 +0800
        Re: How to monitor and graph the temperature of my CPU "Cybe R. Wizard" <cybe@WizardsTower> - 2011-06-30 05:37 -0500
          Re: How to monitor and graph the temperature of my CPU Man-wai Chang <toylet.toylet@gmail.com> - 2011-06-30 19:03 +0800
            Re: How to monitor and graph the temperature of my CPU "Cybe R. Wizard" <cybe@WizardsTower> - 2011-06-30 08:24 -0500
              Re: How to monitor and graph the temperature of my CPU Man-wai Chang <toylet.toylet@gmail.com> - 2011-06-30 22:03 +0800
        Re: How to monitor and graph the temperature of my CPU J G Miller <miller@yoyo.ORG> - 2011-06-30 13:25 +0000
          Re: How to monitor and graph the temperature of my CPU Man-wai Chang <toylet.toylet@gmail.com> - 2011-06-30 22:03 +0800
          Re: How to monitor and graph the temperature of my CPU The Natural Philosopher <tnp@invalid.invalid> - 2011-06-30 18:51 +0100
  Re: How to monitor and graph the temperature of my CPU Moog <efcmoog@gmail.invalid> - 2011-07-05 22:27 +0000
    Re: How to monitor and graph the temperature of my CPU J G Miller <miller@yoyo.ORG> - 2011-07-06 10:51 +0000
      Re: How to monitor and graph the temperature of my CPU Anton Meyninger <anton.meyninger@gmail.com> - 2011-07-06 18:01 +0200

csiph-web