From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3b751e87e923749c,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-12 13:34:53 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!galaxy.ucr.edu!corsa!cdematt From: cdematt@corsa.ucr.EDU (Cheryl DeMatteis) Newsgroups: comp.unix.osf.osf1 Subject: Physical Memory Size Date: 12 Oct 1994 20:13:45 GMT Organization: University of California, Riverside Sender: cdematt@corsa (Cheryl Dematteis) Distribution: world Message-ID: <37hg1p$gpo@galaxy.ucr.edu> NNTP-Posting-Host: corsa.ucr.edu Keywords: memory Is there a system call that will give me the size of the physical memory on a particular machine ? In Solaris the following code works: sysconf(_SC_PHYS_PAGES); Our version of OSF/1 2.0b does not recognize _SC_PHYS_PAGES Thanks for the help. -- Cheryl K. DeMatteis cdematt@cs.ucr.edu Graduate Student (909)787-3392 Department of Computer Science University of California Riverside, CA 92521