tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  get_info system call
@ 2004-10-15 12:34 Dave Simmonds
  0 siblings, 0 replies; only message in thread
From: Dave Simmonds @ 2004-10-15 12:34 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-15 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-15 12:34 SUMMARY: get_info system call Dave Simmonds

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