SUMMARY: get_info system call

From: Dave Simmonds (Dave.Simmonds@pawis.com)
Date: Fri Oct 15 2004 - 08:34:20 EDT


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:09 EDT