🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #690

Re: Finding physical memory size

#690
From: Eric Schnoebelen
Date: Wed, 02 Jan 1991 19:15
48 lines
2440 bytes
Submitted-by: schnoebe@convex.com (Eric Schnoebelen)

jgd@csd4.csd.uwm.edu writes in <16397@cs.utexas.edu>:
-Submitted-by: jgd@csd4.csd.uwm.edu (John G Dobnick)
-
-Our CONVEX system, which claims POSIX compliance, has a system call
-that returns "system configuration" information.

	First off, getsysinfo(2) is not a POSIX standard routine.  It
is an extension to UNIX that Convex has supported for quite some time.
It is not available in the conforming modes of the C development
environment (compiler and libraries), only the extended/backwards
compatible modes.

	The features of getsysinfo(2) are available as part of the
uname(2) call as well, as an extension to the standard uname
structure.

-One item glaringly missing is the size of physical memory installed.
-The writeup for the function claims it returns "system information", not
-"CPU information".   In my book, a "system" includes processors AND
-memory.
-
-My question, to those of you who know what happened in the
-standardization process is threefold:
-
-	a) Was memory size even considered for inclusion in the
-	   'getsysinfo' (or whatever it's really named) call.

	According to the standard, the only things that have to be
returned by uname(2) are the system (implementation) name, the node
(host) name, the release name, the version name, and the hardware type
name. See page 77, section 4.4 of the little green book.

-	c) How does one interrogate the system, in a 'standard' way,
-	   to determine physical memory size?   (My initial guess is
-	   that the answer will be "You don't.")

	Correct!.  For the Convexen, you  might try contacting the TAC,
and asking them. I seem to remember a little program that determines
just that floating around.

--
Eric Schnoebelen		eric@cirr.com		schnoebe@convex.com
	Biology is the only science in which multiplication means the
			same thing as division.

Volume-Number: Volume 22, Number 54
Technical Details
Message-ID: <16475@cs.utexas.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!jsq
References: <16397@cs.utexas.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!jsq
From: schnoebe@convex.com (Eric Schnoebelen)
Newsgroups: comp.std.unix
Subject: Re: Finding physical memory size
Message-ID: <16475@cs.utexas.edu>
Date: 2 Jan 91 19:15:16 GMT
References: <16397@cs.utexas.edu>
Sender: jsq@cs.utexas.edu
Organization: Convex Computer Corporation, Richardson, Tx.
Lines: 48
Approved: jsq@cs.utexas.edu (Moderator, John S. Quarterman)
X-Submissions: std-unix@uunet.uu.net