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. :)