in reply to Tracking Memory Usage
Perhaps GTop might be what you are looking for. e.g. under mod_perl I use it to find out about the shared memory size...
Best regards, perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"