Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!mtunx!whuts!homxb!homxc!dwc From: dwc@homxc.UUCP (Malaclypse the Elder) Newsgroups: comp.unix.questions Subject: Re: Determining system memory Message-ID: <1781@homxc.UUCP> Date: 2 Apr 88 09:51:47 GMT References: <248@lxn.UUCP> Organization: Legion of Dynamic Discord Lines: 13 In article <248@lxn.UUCP>, chris@lxn.UUCP (Christopher D. Orr) writes: > > I have been trying to find a nice, clean way to determine system > memory under SYS V 2.2. I have come up with two solutions to this > problem. However, there must be a cleaner/faster way :-). > i believe there is a system variable called physmem (or something like that). so all you have to do is to find the address of the variable, open /dev/mem (or kmem, i'm never sure which) and read that value (ala ps, sysdef, etc.) danny chen ihnp4!homxc!dwc