Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 1999 15:51:14 -0600
From:      Chris Fedde <cfedde@fedde.littleton.co.us>
To:        Adam Shaun Nealis <adamn@csl.com>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Q: Efficent way to count up resources used by a process. 
Message-ID:  <199910292151.PAA53746@fedde.littleton.co.us>
In-Reply-To: Your message of "Fri, 29 Oct 1999 14:39:14 BST." <3819A382.1D798D58@csl.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

Adam Shaun Nealis writes:
 +---------------
 | I'm trying to find out a way to count up the
 | amount of RAM in use in the system at a given
 | time by given processes.
 +---------------

The RSS column in the ps report is the resident set size.  That is
the ammount of memory in 1024 bytes that the process is using at
the time that the ps was run.  This number can be helpfull in
figuring out how many of something you can run simultaniously.
Note that things like webservers may have widely varying ammounts
of memory use depending on the mix of transactions at the particular
time.

Vmstat(8) is also a good utility for viewing overall memory usage.
The man page for ps(1) and vmstat(8) are both reasonably helpfull.

chris
__
Chris Fedde	  <cfedde@fedde.littleton.co.us>
303 773 9134


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?199910292151.PAA53746>