[PLUG] How to read outputs from sensors?

Fedor G. Pikus fedorp at wv.mentorg.com
Wed Apr 24 00:18:20 UTC 2002


The command "sensors" will read the sensors and print the readings.
If you want to do it yourself from your won program, "sensors" just reads
/proc, look at the source for "sensors" to figure out what it reads.

On Tue, 23 Apr 2002, Alex Daniloff wrote:
> Hello,
> I already did what you've described in here.
> My question is how and where I can read actual readings from the sensors?
> Is there any utility or I should read them from /proc/bus/?
> This is my initial and the only question.
> Thank you.
> Alex
>
> On Monday 22 April 2002 11:45 pm, you wrote:
> > First of all. you need to load the right modules for your sensors.
> > Start by running sensors-detect, it may probe your hardware correctly if
> > you are lucky. If not, you may have to search the lm-sensors discussion
> > list (there is a link from lm-sensors web page) or search newsgroups with
> > Google.
> > After you get the right modules and get them to load on startup (usually
> > you have to load them manually, they won't autoload, so write a script to
> > start them as a service), "sensors" command should show you something.
> > Then it's a matter of tweaking the formulas in sensors.conf for your
> > motherboard (unless someone has already done it and it's included in the
> > sample config file on the mailing list). If you have to tweak it, you will
> > need reference temperature and fan readings, you can get them from BIOS.
> >
> > On Mon, 22 Apr 2002, Alex Daniloff wrote:
> > > Hello Linux folkz,
> > > I've downloaded and installed both parts of sensors package.
> > >
> > > i2c-2.6.3.tar.gz
> > > lm_sensors-2.6.3.tar.gz
> > >
> > > Now my question is how I can read my MB / CPU temps, voltages and speed
> > > of the fans?
> > > The sensors documentation seems to be a little bit controversial.
> > > Could somebody please give me an idea or point to the source of
> > > information. Many thanks in advance.
> > > Alex
>
> --
> MS Windows users should be covered under the Americans with Disabilities Act!
> -------------->   Try Linux and you'll understand why   <--------------
>
> -------------------------------------------------------
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>

-- 
                                  Fedor G. Pikus
Mentor Graphics Corporation         | Phone: (503) 685-4857
8405 SW Boeckman Road               | FAX:   (503) 685-1239
Wilsonville, Oregon 97070           | http://www.pikus.net/~pikus/




More information about the PLUG mailing list