Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Temperature Logging with lm_sensors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
herbo
Tux's lil' helper
Tux's lil' helper


Joined: 13 Feb 2004
Posts: 145
Location: Land Of Oz

PostPosted: Mon Nov 29, 2004 11:59 am    Post subject: Temperature Logging with lm_sensors Reply with quote

I suspect my poor old athlon xp 2500 is not coping too well with the onset of some warmer weather (here in Melbourne, Australia)...

Hence I have installed lm_sensors and have it working fine and even have the gnome hardware-monitor applet reporting the cpu and m'board temperatures.

However, I can find no application that will log those temperatures. They (e.g gkrellem) will only display the current temperature readings. Which is not much use when I come back to my computer after a time to find it switched off and beeping at me!!

Does anyone know of an application that will read and log the temperature readings at predefined intervals?
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Nov 29, 2004 12:09 pm    Post subject: Reply with quote

Put in a cron job that logs the output of sensors(1) every few minutes.

Something like:

Code:
*/5 * * * * sensors >> /var/log/sensors


Although you might like to wrap that in a shell script to increase security and general sanity...
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
herbo
Tux's lil' helper
Tux's lil' helper


Joined: 13 Feb 2004
Posts: 145
Location: Land Of Oz

PostPosted: Mon Nov 29, 2004 12:50 pm    Post subject: Reply with quote

Thanks, that was stupid of me... I didn't even think of cron. It must have been too simple :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum