[SunHELP] Memory usage reporting (mallinfo like capability) on Solaris
rajdeep
rajdeep at noida.atrenta.com
Mon Oct 13 08:33:08 CDT 2003
Hi Team,
In our software application, we want to report the memory used
up by our application in different stages. For Linux and Hp systems,
we are using the standard mallinfo() function provided by them, but
Solaris OS does not seem to provide a mallinfo() function with its
standard malloc(3C).
Though Solaris OS does provide a mallinfo() function with malloc(3X),
but that would enforce us to use the malloc(3X), whose run-time
performance
is much poorer than the standard malloc(3C). Just as a trial, we tried
using
malloc(3X), and found that it caused our application run-time to go up
by more than 5 times, which was totally unacceptable for us.
So, we would prefer to have the mallinfo functionality available with
the standard malloc(3C) function shipped with Solaris.
We require this capability on 32-bit as well as 64-bit Solaris OS.
Could you please help us out in to resolve this issue.
Thanks
--
Thanks,
-Rajdeep
More information about the SunHELP
mailing list