Chris Elmquist ([EMAIL PROTECTED]) said:

> On Tuesday (04/09/2002 at 04:47PM -0400), Mike Snitzer wrote:
> > 
> > Funny you should say that, I implemented a script that pushes out the cpu
> > temps through /etc/cron.d/ (will add fan speed shortly).. I've attached
> > the script in case others would like it. (the cut et al was based on a
> > previous list post).
> 
> Alright!  My scripts are only half-baked at this point but I chose to
> read the /proc/sys/dev/sensors files directly rather than parse
> 'sensors' output.  I then have a mapping between the various sensor
> files and generic ganglia metric names.  We'll see how well this works
> out.

I wouldn't do that... each chip supported by lm_sensors is different; as
such the files in /proc/sys/dev/sensors are all different (dependant upon
chip).  the 'sensors' program is aware of all these subtle
differences... Reading directly from /proc would normally be fine; but
it's a slippery slope when dealing with lm_sensors.  As the lm_sensors
team has _never_  standardized on a generic representation of the sensors
chip data. 

This said, the script I sent earlier was just a prototype that didn't take
the hackish nature of lm_sensors into account.. 

Hope this helps,
Mike

Reply via email to