On Fri, 18 Nov 2004, Oleg Goldshmidt wrote:
>
> My turn to ask a question. I (and a few of my colleagues) am
> interested in profiling the memory usage of a non-trivial application.
[.. description snipped ..]
lets see:
1. memstat (not sure where i got it from, just happens to lie on my
/usr/local/bin) will show only the non-share-able memory used by processes.
2. assuming that what you're mostly interested in, is profiling
memory allocated dynamically, perhaps these:
1. from writter of ptmalloc (what you have in glibc):
ftp://ftp.dent.med.uni-muenchen.de/pub/wmglo/mtrace-970904.tar.gz
see examle of how the author used it:
http://www.dent.med.uni-muenchen.de/~wmglo/malloc-slides.html
2. glibc comes with a utility called "memusage" (saw references to it
just half an hour ago, but didn't keep a bookmark)...
ahh.. just found it:
http://mail.gnome.org/archives/gnome-hackers/2002-February/msg00242.html
however, since memusage appears to collect statistics for the entire
run of the application, it might not suite your needs.
--
guy
"For world domination - press 1,
or dial 0, and please hold, for the creator." -- nob o. dy
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]