If I run GNU time with some large program, I get the following output:604.90user 13.16system 11:05.56elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
712inputs+0outputs (5major+76648minor)pagefaults 0swaps
Question - I would guess that maxresident would refer to maximum resident memory usage of the program that I ran, but why is it always zero?
Share on Twitter Share on Facebook
Comments
Michał Masłowski 11 years ago
As the man page states, "Not all resources are measured by all versions of Unix, so some of the values might be reported as zero." On my Gentoo GNU/Linux machine avgtext and avgdata are zero, but maxresident is not zero.
Link | ReplyNew Comment