Thanks for replying.
I never used that function before. It's not even clear to me what it does (from the manpage). From what I can see from the getrusage manpage, though:
Code:
The above struct was taken from 4.3BSD Reno. Not all fields are meaningful under Linux. In linux 2.4 only the
fields ru_utime, ru_stime, ru_minflt, and ru_majflt are maintained. Since Linux 2.6, ru_nvcsw and ru_nivcsw are
also maintained.
Looks like ru_isrss is not "meaningful" on Linux
