How to get program's memory usage?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Is there a portable way to determine how much memory a Perl script
is consuming?  Now I'm using `ps ho rss $$` (plus chomp, yaddayadda),
but this is not very meaningful outside of Linux, let alone outside
of Unix.



NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.

Site Timeline