in reply to How to tell if script sucks...memory
sub memsize { open(FH, '/proc/self/status'); while(<FH>) { return $_ if /^VmSize/; } close FH; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to tell if script sucks...memory
by kyle (Abbot) on Feb 02, 2007 at 21:37 UTC |