Determining system memory
Malaclypse the Elder
dwc at homxc.UUCP
Sat Apr 2 19:51:47 AEST 1988
In article <248 at lxn.UUCP>, chris at 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
More information about the Comp.unix.questions
mailing list