Hi, I'm currently running GCC 2.6.3 under LINUX kernel version 1.2.1
and I'm not getting any kind of statistics reporting from any calls
to getrusage. I get the processor time but no reports on the page
faults, resident set size, or context switches. Does the kernel
support these reporting facilities.
I tried calling getrusage before running BS operations on a very large
array in order to induce large amounts of paging. No results. Zeros
reported for ru_ixrss,ru_maxrss,ru_nvcs, and maj and min page faults.
Can anyone help me out?
Thanks in advance.
Nick
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ "Go, sir, gallop, and don't forget that the world was made in ~
~ six days. You can ask me for anything you like, except ~
~ time." ~
~ Napoleon Bonaparte to an aide (1803) ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~