Xref: utzoo comp.unix.ultrix:4030 comp.unix.questions:23956 Path: utzoo!attcan!uunet!aplcen!haven!decuac!shlump.nac.dec.com!shodha.dec.com!alan From: alan@shodha.dec.com ( Alan's Home for Wayward Notes File.) Newsgroups: comp.unix.ultrix,comp.unix.questions Subject: Re: Determining physical memory usage Summary: Take a look at vmstat(1). Message-ID: <1458@shodha.dec.com> Date: 22 Jul 90 15:27:57 GMT References: <3634@umbc3.UMBC.EDU> Followup-To: comp.unix.ultrix Organization: Digital Equipment Corp. - Colorado Springs, CO. Lines: 27 In article <3634@umbc3.UMBC.EDU>, rostamia@umbc3.UMBC.EDU (Rouben Rostamian) writes: > Is there a utility to determine what fraction of the physical memory > is being used on a machine? Vmstat(1) should have what you want lurking in it. If not you can: 1. Look on gatekeeper.dec.com for something called monitor.tar.Z (/pub/DEC/...). 2. Write you own program to go poking around kernel memory. I think the interesting data structure is called "total". > > I have a DECstation 3100 with 8MB of memory. The reason I want to check > the memory usage is to determine whether the memory gets saturated at all, > and whether investing in additional memory modules is worthwhile. With only 8 MB you're almost certainly paging. Maybe even a lot. It depends on what you're doing. > > -- > Rouben Rostamian Phone: 301 455-2458 -- Alan Rollow alan@nabeth.enet.dec.com