Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Nov 1998 01:48:21 -0800 (PST)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Tim Pushor <timp@orion.ab.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: question about 'top'
Message-ID:  <Pine.BSF.4.03.9811070145580.6949-100000@resnet.uoregon.edu>
In-Reply-To: <00cd01be0661$d37c84e0$459b2ca6@tpushor.shl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Nov 1998, Tim Pushor wrote:

> I have a question regarding the 'top' program included in FreeBSD. I
> am interested to see what resources are used by which process. I am
> running a server process that forks itself for every request, and am
> interested to know how much memory is being used by this process. I am
> assuming this would be the 'RES' column. 

The 'SIZE' represents all the memory the process is using.  RES represents
the amount of RAM the process is presently using.  That number deducts the
amount of SIZE that's swapped out.

> I see sendmail 8.9.1 appears to use on the order of one megabyte per
> process. Does this seem reasonable? This would mean that to run 50
> sendmail 'children' concurrently it would require ~50 megabytes for
> data, plus stack and text area.

50MB in the VM system, yes.  That doesn't necessarily translate to RAM.

Programs can interrogate their own resource utilization, btw.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org


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.BSF.4.03.9811070145580.6949-100000>