How to get memory usage for process?

Artem Koutchine matrix at itlegion.ru
Tue Apr 6 05:04:15 PDT 2004


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?

Regards,
Artem



More information about the freebsd-questions mailing list