C/C++ API in solaris to get memory info

Hii everyone,

I am looking for a c/c++ API in Solaris, which can take a process-id as an argument, and will return Process memory utilization. I got something like this in Unix, but header files required to this ("ReadProcess.h") are missing in solaris. Can somebody suggest me any standard API to fetch this info. :)
Topic archived. No new replies allowed.