Can anyone help me in getting the Data Segment Size of a running process. I mean is there any interface for useland ? I tried with getrusage, but it's manpage says that it's not been implemented for "ru_idrss" field of rusage structure. I don't want to read /proc fs for this information as from there I can get this information, but don't want to depend on that. Please help me. Thanks. Sumit Sharma.