Re: Execute lm_sensors as normal c program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

Here is the result that I got from sensors:

it8712-isa-0290
Adapter: ISA adapter
VCore 1:   +1.15 V  (min =  +4.08 V, max =  +4.08 V)   ALARM
VCore 2:   +4.08 V  (min =  +4.08 V, max =  +4.08 V)   ALARM
+3.3V:     +3.34 V  (min =  +4.08 V, max =  +4.08 V)   ALARM
+5V:       +6.85 V  (min =  +6.85 V, max =  +6.85 V)   ALARM
+12V:     +12.74 V  (min = +16.32 V, max = +16.32 V)   ALARM
-12V:     -15.33 V  (min =  +3.93 V, max =  +3.93 V)   ALARM
-5V:       +4.03 V  (min =  +4.03 V, max =  +4.03 V)   ALARM
Stdby:     +6.85 V  (min =  +6.85 V, max =  +6.85 V)   ALARM
VBat:      +3.22 V
fan1:     3341 RPM  (min =    0 RPM, div = 2)          
fan2:        0 RPM  (min =    0 RPM, div = 2)          
fan3:        0 RPM  (min =    0 RPM, div = 2)          
M/B Temp:    +44°C  (low  =    -1°C, high =    -1°C)   sensor = thermistor   
CPU Temp:    +41°C  (low  =    -1°C, high =    -1°C)   sensor = thermistor   
Temp3:      +128°C  (low  =    -1°C, high =    -1°C)   sensor = disabled   


Can I get the same result when I execute the C file prog/sensors/main.c?. If not, can you please tell me which file outputs those results. 

On Fri, Jul 9, 2010 at 8:45 PM, Luca Tettamanti <kronos.it@gmail.com> wrote:
On Fri, Jul 9, 2010 at 1:58 PM, Susmith P <susmith.p@xxxxxxxxx> wrote:
> Hi,
> I have checked the lm_sensors, It is really amazing. I need that sensors to
> run a normal c program. I have downloaded the source code, in directory
> /prog  I saw a c program main.c.

prog/sensors, I presume.

> But when I execute that program it through
> some errors.

What errors? Note that 'sensors' executable depends on libsensors, if
it's not in your loader search path the program won't start. You can
either point LD_LIBRARY_PATH to the appropriate directory or copy the
library to one of the standard system directories (e.g.
/usr/local/lib).

Luca



--
Great day
Susmith
_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux