From owner-freebsd-questions Fri Nov 2 5:35: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 0110037B403 for ; Fri, 2 Nov 2001 05:35:05 -0800 (PST) Received: from [212.238.77.116] (helo=buffy.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 15zeTO-0004dx-00 for freebsd-questions@FreeBSD.org; Fri, 02 Nov 2001 13:35:03 +0000 Received: by tanya.raggedclown.net (Ragged Clown Mailhost, from userid 500) id DEEEF11F0; Fri, 2 Nov 2001 14:32:44 +0100 (CET) Date: Fri, 2 Nov 2001 14:32:44 +0100 From: Cliff Sarginson To: freebsd-questions Subject: Re: top output Message-ID: <20011102143244.C3438@raggedclown.net> References: <3BE15473.5020104@sinp.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: ; from Jan.Grant@bristol.ac.uk on Fri, Nov 02, 2001 at 10:40:39AM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. -- Regards Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message