SUMMARY: get_info system call

From: Dave Simmonds (Dave.Simmonds_at_pawis.com)
Date: 10/15/04

  • Next message: Karen R McArthur: "Error on reboot"
    Date: Fri, 15 Oct 2004 13:34:20 +0100
    To: tru64-unix-managers@ornl.gov
    
    

    I got quite a few responses - Thanks guys!

    Didn't manage to find out how to get at get_info. It's in the kernel, and I
    even tried dlopen'ing that, but it wouldn't let me. You can do that on AIX.

    Best solution was to use cfg_subsys_query.
    The temperature is also obtainable with sysconfig -q envmon, but I wanted to
    do it from within a C program (efficiently!)

    Dave

     -----Original Message-----
    From: Dave Simmonds [mailto:Dave.Simmonds@pawis.com]
    Sent: 14 October 2004 16:00
    To: 'tru64-unix-managers@ornl.gov'
    Subject: get_info system call

    Hi,

    I wanted to use the get_info system call (specifically to get the system
    temperature).
    Presumably it's in a library somewhere.

    Does anyone know which library to link against?
    Or do I have to load another development kit?

    Any pointers in the right direction would be appreciated.

    Thanks,
    Dave Simmonds


  • Next message: Karen R McArthur: "Error on reboot"

    Relevant Pages

    • Re: start a new post with your error message
      ... with kernel 2.6 they come with the kernel tree. ... I suppose temp1 is the chassis temperature. ... CPU Fan1/CPU1 Chassis Fan ... 5V Vcc ...
      (comp.os.linux.misc)
    • Re: ASUS M2N-E mobo and openSUSE 10.2
      ... So it's likely that a newer kernel will solve things. ... a recent kernel upgrade caused my temperature readings to ... The CPU fan revs (which I ... guess) seem to be consistent with a real effect. ...
      (comp.os.linux.hardware)
    • Re: 2.6.21-rc5: Thinkpad X60 gets critical thermal shutdowns
      ... but I presume the temperature was not controlled for it to hit ... and not a kernel artifact. ... If I reboot the same ... If I boot Windows immediately afterwards, ...
      (Linux-Kernel)
    • Re: ASUS M2N-E mobo and openSUSE 10.2
      ... So it's likely that a newer kernel will solve things. ... They are read via k8temp directly from the CPU which provides the ... This chip also reads the diode in the CPU, but in contrary to k8temp ... a recent kernel upgrade caused my temperature readings to ...
      (comp.os.linux.hardware)
    • Re: Please help evaluate/recover from mistakes
      ... ton from these responses - at least a few things from each. ... the relative impact of temperature on extract vs grain. ... from reading I see I should have come in a lot lower. ...
      (rec.crafts.brewing)