From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 01:58:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9AE716A41C for ; Tue, 5 Jul 2005 01:58:47 +0000 (GMT) (envelope-from hornetmadness@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71E1E43D45 for ; Tue, 5 Jul 2005 01:58:47 +0000 (GMT) (envelope-from hornetmadness@gmail.com) Received: by rproxy.gmail.com with SMTP id 34so147189rns for ; Mon, 04 Jul 2005 18:58:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nG2h4wgGNJp9mYaQdsGpq3W43JBrGpKfYfuACeoK/dD/YDJicoj3NvpsigEGBYgMGPoPEUS1njkW5tfERDfQcCIjbHduMfu2UDD1fYbCTVcPnZPj5bAQJGxaKeOKurznIuKVEBlmXp11pHkTTQquqBbqoN1g8bL4OPwow0ZxZnI= Received: by 10.38.195.4 with SMTP id s4mr2216786rnf; Mon, 04 Jul 2005 18:58:46 -0700 (PDT) Received: by 10.38.8.44 with HTTP; Mon, 4 Jul 2005 18:58:46 -0700 (PDT) Message-ID: Date: Mon, 4 Jul 2005 21:58:46 -0400 From: Hornet To: "scuba@centroin.com.br" In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: FreeBSD questions Subject: Re: Where is the memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hornet List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 01:58:47 -0000 In top, if you type in "u" it will prompt you for an account which you can monitor the processes and mem. Of course, this will not work for apps that are opened under different credentials. On 7/4/05, scuba@centroin.com.br wrote: > Hi, >=20 > How can I track where/who is using the system memory? >=20 > I have a 2GB (RAM) system running Freebsd 5.4, basically as a mai= l > gateway. >=20 > After a few hours up, TOP shows me about 300MB of free memory. No > swap yet. >=20 > But the sum of RSS column of "ps axum", gives me about 600MB used= . > I know that kernel allocated memory doesn=B4t show in ps, but I > think it=B4s not using 1.4GB. >=20 > The head of top is like this: >=20 > last pid: 7323; load averages: 1.49, 1.11, 1.30 up 4+05:57:30 19:0= 1:05 > 184 processes: 1 running, 183 sleeping > CPU states: 16.7% user, 0.0% nice, 3.5% system, 0.6% interrupt, 79.3% = idle > Mem: 333M Active, 1218M Inact, 157M Wired, 42M Cache, 112M Buf, 256M Free > Swap: 8192M Total, 8192M Free >=20 > Also, why there is a difference between free memory reported by > top and vmstat? >=20 > Could it have some memory leak? Is there any report of it in > freebsd 5.x? >=20 > Thank you, >=20 > - Marcelo >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >