[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::axp-developer

Title:Alpha Developer Support
Notice:[email protected], 800-332-4786
Moderator:HYDRA::SYSTEM
Created:Mon Jun 06 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3722
Total number of notes:11359

3585.0. "Landmark Systems Corporation" by HYDRA::AXPDEVELOPER (Alpha Developer support) Tue May 06 1997 04:09

    Company Name :  Landmark Systems Corporation
    Contact Name :  Shyam and Kevin
    Phone        :  (703) 902 8124
    Fax          :  
    Email        :  [email protected]
    Date/Time in :   6-MAY-1997 03:09:09
    Entered by   :  Ian Chamberlin
    SPE center   :  MRO

    Category     :  unix
    OS Version   :  
    System H/W   :  


    Brief Description of Problem:
    -----------------------------

From:	SMTP%"[email protected]"  5-MAY-1997 17:41:56.26
To:	[email protected]
CC:	[email protected] (Kevin Bayly)
Subj:	Information On sys/sysinfo.h

Return-Path: [email protected]
Received: by vaxsim.mro.dec.com (UCX V4.1-12, OpenVMS V6.2 VAX);
	Mon, 5 May 1997 17:41:47 -0400
Received: from fwout.landmark.com by mail12.digital.com (8.7.5/UNX 1.5/1.0/WV)
	id RAA00419; Mon, 5 May 1997 17:31:56 -0400 (EDT)
Received: by fwout.landmark.com; id RAA25629; Mon, 5 May 1997 17:28:41 -0400 (EDT)
Received: from saturn.landmark.com(192.246.113.34) by fw.landmark.com via smap (3.2)
	id xma025614; Mon, 5 May 97 17:28:31 -0400
Received: from proda.landmark.com (proda.landmark.com [199.100.108.22]) by Landmark.Com (Howdy Partner/nope) with ESMTP id RAA23596; Mon, 5 May 1997 17:18:23 -0400 (EDT)
From: Shyam Harahalli <[email protected]>
Received: (from shyamh@localhost)
          by proda.landmark.com (8.8.4/8.8.4)
	  id RAA22140; Mon, 5 May 1997 17:18:22 -0400
Message-Id: <[email protected]>
Subject: Information On sys/sysinfo.h
To: [email protected]
Date: Mon, 5 May 1997 17:18:22 -0400 (EDT)
Cc: [email protected] (Kevin Bayly)
In-Reply-To: <[email protected]> from "[email protected]" at Apr 14, 97 02:58:29 pm
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text


	Currently we are using the table.h to obtain four of the CPU runtimes:
	si_idle, si_user, si_sys as well as (wait?).  We are using the 
	system call table(TBL_SYSINFO, etc).

	In research we have also discovered what appear to be three external
	structures that are related to the sysinfo structure: sysinfo, 
	sysrate, syshist in the header file sys/sysinfo.h.

	We want to know if there is a way to access these structures?  We have
	looked at the kernel symbol table using "nm" and we can find no symbols
	or addresses related to these names.  Our efforts to use "nlist" or 
	"knlist" have also produced negative results.  If we can't access these
	structures by call is there a way we can get the addresses?

	We have  seen in the documentation of sys/sysinfo.h reference to a 
	function called "sysrates()". Is there such a function or has the 
	name changed? If the name is changed we would appreciate an update 
	as to the name and what "sysrates()" reports and returns.  This 
	elusive function is not discussed in the "man" page either.
	We greatly appreciate your time and effort in this, 
	
	thanks.

	Shyam and Kevin


---------------------------------------------------------
Landmark Systems Corporation
8000 Towers Crescent Drive
Vienna, Virginia 22182-2700
Telephone:	(703) 902 8124 (Work)

---------------------------------------------------------

T.RTitleUserPersonal
Name
DateLines
3585.1Left over baggage from origins of OSF/1 (Digital_Unix Note 9740).RDGENG::CHAMBERLINDanger! Do not Reverse PolarityThu May 08 1997 04:2424
Shyam,

The references in <sys/sysinfo.h> you mentioned..

#ifdef KERNEL
extern struct sysinfo sysinfo;
extern struct sysinfo sysrate;
extern struct sysinfo syshist;
#endif /* KERNEL */

and also a reference to a function called sysrates().

are remnants from the original OSF/1 headers and libraries, from which Digital
UNIX evolved.

They have no functionality in Digital UNIX, and perhaps should be cleaned up at
some stage. 

regards,


Ian Chamberlin,

Digital Equipment Co, Software Partner Engineering.