On 05/25/2011 05:15 AM, Robert Kaiser wrote: > NoOp schrieb: >> $ memstat -w | grep seamonkey > > I think there's a number of blog posts out there that accurately tell > how inaccurate measures like this really are when it comes to what > actual memory is being used. All OSes only give you measures of either > virtual memory or some random guesses, all which don't really map to > actual memory usage, because doing that it almost impossible, given that > some files from disk are "mapped" into memory and memory for code can be > and are shared across applications and processes. > > Robert Kaiser > >
Understand. http://manpages.ubuntu.com/manpages/maverick/en/man1/memstat.1.html <quote> DESCRIPTION memstat lists all accessible processes, executables, and shared libraries that are using up virtual memory. To get a complete list memstat has to be run as root to be able to access the data of all running processes. First, the processes are listed. An amount of memory is shown along with a process ID and the name of the executable which the process is running. The amount of memory shown does not include shared memory: it only includes memory which is private to that process. So, if a process is using a shared library like libc, the memory used to hold that library is not included. The memory used to hold the executable’s text-segment is also not included, since that too is shareable. After the processes, the shared objects are listed. The amount of memory is shown along with the filename of the shared object, followed by a list of the processes using the shared object. The memory is listed as the total amount of memory allocated to this object throughout the whole namespace. In brackets also the amount that is really shared is listed. Finally, a grand total is shown. Note that this program shows the amount of virtual (not real) memory used by the various items. </quote> I'd be interested in reading one of those blogs relating to memstat if you have a link. _______________________________________________ support-seamonkey mailing list [email protected] https://lists.mozilla.org/listinfo/support-seamonkey

