Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: Way to show RAM size from shell?
Date: 1996/08/15	[thread overview]
Message-ID: <4uvnkm$boa@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 4usk56$e22@rc1.vub.ac.be



In article <4usk56$e22@rc1.vub.ac.be>, xchi@ulb.ac.be (Chi Xiaochen) writes:

>> [ No way I'll keep the atributions straight, but summary is that
     someone asked how to find out how much memory is on a system.
     There is no distributed command to find out easily, but the
     getsysinfo(2) system call has a code to get the information.
     Just a small matter of programming... ]


>The physical memory reported by this program is really total physical memory
>installed in a machine, or the memory available to the operating system, that
>is physical memory minus the space occupied by the kernel?

It is really total physical memory.  Early systems stole 2 MB for their
PAL code, but recent systems may manage to give some of that back once
the OS is booted.  It really doesn't matter since the systems support
virtual memory and the size of the kernel is very fluid.  The kernel
memory allocator will wire down paged memory as needed, the buffer
cache can consume most of free memory given the chance and will thrash
against programs if the conditions are just wrong enough and many
drivers are dynamically loadable and will take away memory when
loaded.
>
--
Alan Rollow				alan@nabeth.cxo.dec.com




  parent reply	other threads:[~1996-08-15  4:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-08  4:00 Way to show RAM size from shell? Daniel Hillman
1996-08-09  4:00 ` Stephen Stuart
1996-08-10  4:00 ` Michael Rutter
1996-08-14  4:00   ` Jonathan Oei
1996-08-10  4:00 ` A. Suleiman
1996-08-13  4:00   ` Paul Henderson
1996-08-12  4:00 ` Daniel Lewis
1996-08-19  4:00   ` J. Shane Kennedy
1996-08-12  4:00 ` Randy M. Hayman
1996-08-13  4:00   ` Rob Hooft
1996-08-14  4:00   ` Rob Hooft
1996-08-14  4:00     ` Chi Xiaochen
1996-08-14  4:00       ` Dan Pop
1996-08-15  4:00       ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
1996-08-14  4:00     ` Freely Available Software (Digital UNIX) Randy M. Hayman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox