tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dave Simmonds <Dave.Simmonds@pawis.com>
Subject: SUMMARY:  get_info system call
Date: Fri, 15 Oct 2004 13:34:20 +0100	[thread overview]
Message-ID: <001b01c4b2b3$4c5c6430$0301a8c0@lhd.fortel.com> (raw)
In-Reply-To: 

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




                 reply	other threads:[~2004-10-15 12:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox