Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #1515
| Date | 2011-06-29 13:39 +0200 |
|---|---|
| From | Anton Meyninger <anton.meyninger@gmail.com> |
| Newsgroups | comp.os.linux.misc, comp.os.linux, comp.os.linux.ubuntu |
| Subject | Re: How to monitor and graph the temperature? |
| References | <4e0aea39$1@news.x-privat.org> <iuerop$kjt$1@news.albasani.net> <4e0afc7b$2@news.x-privat.org> |
| Message-ID | <4e0b0ef1$1@news.x-privat.org> (permalink) |
| Organization | X-Privat.Org NNTP Server - http://www.x-privat.org |
Cross-posted to 3 groups.
Am 29.06.2011 12:20, schrieb Anton Meyninger:
> Am 29.06.2011 11:37, schrieb The Natural Philosopher:
>
>> Hope thats the info to get you started
>
> Wuhu, thanks! It does! I am not into that "linux-thing", so I didn't
> even know howto get just the values without the text ;)
>
> But Using your regex-idea I will certanly do it.
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 | Next — Previous in thread | Next in thread | Find similar
Re: How to monitor and graph the temperature? The Natural Philosopher <tnp@invalid.invalid> - 2011-06-29 10:37 +0100
Re: How to monitor and graph the temperature? Anton Meyninger <anton.meyninger@gmail.com> - 2011-06-29 12:20 +0200
Re: How to monitor and graph the temperature? Anton Meyninger <anton.meyninger@gmail.com> - 2011-06-29 13:39 +0200
Re: How to monitor and graph the temperature? Anton Meyninger <anton.meyninger@gmail.com> - 2011-06-29 14:33 +0200
csiph-web