From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3b751e87e923749c X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-13 23:47:10 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!EU.net!uunet!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nabeth.cxo.dec.com!alan From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1 Subject: Re: Physical Memory Size Date: 12 Oct 1994 23:11:09 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <37hqed$t10@nntpd2.cxo.dec.com> References: <37hg1p$gpo@galaxy.ucr.edu> Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Host: nabeth.cxo.dec.com Keywords: memory 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 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