Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!pta!teti!teslab!andrew From: andrew@teslab.lab.OZ (Andrew Phillips) Newsgroups: comp.unix.xenix.sco Subject: How do you find the amount of RAM free? Message-ID: <1265@teslab.lab.OZ> Date: 11 Jun 91 06:12:31 GMT Reply-To: andrew@teslab.lab.oz.au (Andrew Phillips) Organization: Technology Evaluation Section, L.A.B., Sydney Lines: 14 We will shortly have many more users here and I need to determine how much RAM various programs use. It would also be nice if we could tell at any time how much RAM is unused. Using malloc() is useless since the most I can malloc() is always about 4.7 Mbytes, because of virtual memory. On a similar vein. Is it possible to tell the system to use some memory areas before others. We can have a maximum of 8 Mbytes of 32 bit memory. If we go beyond and add 16 bit memory then we would want it used after the 32 bit RAM. Any help would be most appreciated. -- Andrew Phillips (andrew@teslab.lab.oz.au) Phone +61 (Aust) 2 (Sydney) 289 8712