Check out GTop which sits on top of libgtop.
my $mem = GTop->new; print "Total memory: ", $mem->total / 1024, "K\n";
Edited by planetscape - closed code tag
Originally posted as a Categorized Answer.
In reply to Re: Determining memory usage of a process...
by Fletch
in thread Determining memory usage of a process...
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |