Hello,
I'm porting a software which manages its own cache, and the cache mamangement
wants to know how much memory it's currently using.

Do we have a way to get, from malloc(3) or from the kernel, to get
self memory usage ? Any example I could use ?

AFAIK getrusage(2) doesn't give us instant memory usage but only statistics
from the start of the process.

-- 
Manuel Bouyer <bou...@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--

Reply via email to