Process memory usage

I’m trying to get information about the total memory usage of my process.

Using mallinfo() i’m able to get stats about the heap memory reserved via malloc etc but that’s not the total amount used by the process.

Any help appreciated,



Get the source to pidin and you shall find all you need in there.