From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 20:29:33 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 B418C1065676 for ; Tue, 1 Sep 2009 20:29:33 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8668FC0C for ; Tue, 1 Sep 2009 20:29:33 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 37A74EBC0A; Tue, 1 Sep 2009 16:29:32 -0400 (EDT) Date: Tue, 1 Sep 2009 16:29:31 -0400 From: Bill Moran To: Per olof Ljungmark Message-Id: <20090901162931.d85ec256.wmoran@potentialtech.com> In-Reply-To: <4A9D8057.8020307@intersonic.se> References: <4A9D8057.8020307@intersonic.se> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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:29:33 -0000 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. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/