From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 20:53:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC15D106566C for ; Tue, 1 Sep 2009 20:53:35 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id B317A8FC12 for ; Tue, 1 Sep 2009 20:53:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <4A9D89CB.6060206@intersonic.se> Date: Tue, 01 Sep 2009 22:53:31 +0200 From: Per olof Ljungmark User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4A9D8057.8020307@intersonic.se> <20090901162931.d85ec256.wmoran@potentialtech.com> In-Reply-To: <20090901162931.d85ec256.wmoran@potentialtech.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 20:53:36 -0000 Bill Moran wrote: > In response to Per olof Ljungmark : >> What is a good way to find out how memory is used? Have a 6.4 box where >> memory is used by something but I fail to see what is using it - tried >> different switches to ps(1), tried the stat tools but a big chunk of >> memory does not show at all. >> >> A proper tool for analyzing memory usage "live", this is a production box? > > I've always been able to get what I need from top. You can do -o res to > sort by resident memory usage, which helps. > Well, my problem is that if I add up all I *can* see in top or ps it never gets near the by now 3G plus memory shown as "Active". Maybe one gig is accounted for,