Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: Physical Memory Size
Date: 12 Oct 1994 23:11:09 GMT	[thread overview]
Message-ID: <37hqed$t10@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 37hg1p$gpo@galaxy.ucr.edu


In article <37hg1p$gpo@galaxy.ucr.edu>, cdematt@corsa.ucr.EDU (Cheryl DeMatteis) writes:

>Is there a system call that will give me the size of the physical memory on a
>particular machine ?

Try the getsysinfo(2) system call with GSI_PHYSMEM as the type
code. GSI_PHYSMEM is defined in <sys/sysinfo.h> and may need
to have ULT_BIN_COMPAT defined.

>
>Thanks for the help.
>-- 
>Cheryl K. DeMatteis					    cdematt@cs.ucr.edu

--
Alan Rollow				alan@nabeth.cxo.dec.com



      reply	other threads:[~1994-10-12 23:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-12 20:13 Physical Memory Size Cheryl DeMatteis
1994-10-12 23:11 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
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