From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 160bfa,f074da1da856f4ce X-Google-Attributes: gid160bfa,public X-Google-Thread: fee84,f074da1da856f4ce X-Google-Attributes: gidfee84,public From: Knut Vietze Subject: Re: Finding PagesSize and Physical Memory Installed on OSF/1 m/c? Date: 1997/12/11 Message-ID: <348FF943.446B@theory.phy.tu-dresden.de>#1/1 X-Deja-AN: 297232372 References: <348FE9EA.51D0@NOSPAMPLEASE.slpma8.ed.ray.com> Organization: MPI fuer Physik komplexer Systeme Dresden Newsgroups: comp.unix.osf.osf1,compu.unix.admin Michael Genovese wrote: > > Is there a way to find, preferably using some standard OSF/1 > utility / command, to find the PageSize and Physical Memory installed > on a given DEC-ALPHA machine running OSF1 ? > > I need to be able to do this from within a PERL script. > > pagesize seems to give what's needed for that, but I've > found nothing for the physical installed memory... > > > -- > Mike Genovese, Sr. S/W Engineer > Software Engineering Laboratory, Raytheon, Marlborough, MA > 508-490-3891 > My opinions are my own, and NOT necessarily those of my employer. > Remove the "NOSPAMPLEASE." from my id to reply. I messed around with this quite for long, but I didn't find a smart solution. Anyway, you may want to try to examine the system errorlog, since the kernel logs the amount of installed memory at system startup: # /usr/sbin/uerf -r 300 | grep physical | tail -1 ^ | ------------------+ Record No 300: Operational event: System startup As already said: far from being smart, but the only way I currently have knowledge of. Have fun. -- +----------------------------------------------+ | Knut Vietze, vietze@theory.phy.tu-dresden.de | | vietze@iws.fhg.de | | | | No RISC - No Fun ! | +----------------------------------------------+