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?
In case you have the PROCFS mounted (usually under /proc) you can get a detailed listing of the memory map of a process, together with the relevant flags for the various memory segments that indicate memory sharing etc. Try this:
cat /proc/<pid>/map
'<pid>' is of course to be replaced by the PID of the process you want to examine.
Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
