Memory Usage
Posted: Mon Mar 28, 2005 10:49 am
How to find out how much memory a program has used, in linux.
You could read /proc/<pid>/status just before your program terminates (using atexit for example). If anyone knows a better way (the one that judge uses), I would also like to know.shamim wrote:How to find out how much memory a program has used, in linux.