Date: Fri, 2 Nov 2001 14:13:45 +0000 (GMT) From: Jan Grant <Jan.Grant@bristol.ac.uk> To: Cliff Sarginson <cliff@raggedclown.net> Cc: freebsd-questions <freebsd-questions@FreeBSD.org> Subject: Re: top output Message-ID: <Pine.GSO.4.31.0111021413200.17249-100000@mail.ilrt.bris.ac.uk> In-Reply-To: <20011102143244.C3438@raggedclown.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 Nov 2001, Cliff Sarginson wrote: > On Fri, Nov 02, 2001 at 10:40:39AM +0000, Jan Grant wrote: > > On Thu, 1 Nov 2001, Dmitry Mottl wrote: > > > > > Why 'top' shows the different values for SIZE and RES fields? > > > At the same time all SWAP space is unused. > > > > Pages asked for show up in SIZE; until they're hit, they won't be > > actually allocated so RES looks smaller; try a big malloc. > > > Mmm, malloc won't show it either me thinks, 'cos the pages > won't be hit by it. Try "calloc" instead. ^^^^^^^^^^^^^^^^^ That's exactly what I meant - it's where the discrepancy comes from. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Bolstered by my success with vi, I proceeded to learn C with 'learn c'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.31.0111021413200.17249-100000>
