How to get memory usage for process?

Jan Grant Jan.Grant at bristol.ac.uk
Tue Apr 6 07:16:39 PDT 2004


On Tue, 6 Apr 2004, Artem Koutchine wrote:

> Hi!
>
> I need to figure out how much memory process really takes.
> For example, i am running 100 perl scripts, they are all the
> same source and i guess some memory is shared among them
> (mostly perl interperter i guess). So, i need to know how much
> memory is shared and how much memory is used for each new
> running script (including buffers, e.t.c.). What command shoud
> do the trick and with what options?

You're probably after the sysutils/pmap utility, in the ports.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
"...perl has been dead for more than 4 years." - Abigail in the Monastery


More information about the freebsd-questions mailing list