Your best bet is probably using /proc, as you are now; that's fairly portable these days, at least on Unices.
Unfortunately, that just isn't true. Even among systems that have /proc, the format is often very different.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: get memory usage
by sauoq
in thread get memory usage
by dpuu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |