[Bug 15751] `time` function reports more `maxrss` usage than GNU time
bugzilla at busybox.net
bugzilla at busybox.net
Fri Nov 10 04:36:16 UTC 2023
https://bugs.busybox.net/show_bug.cgi?id=15751
--- Comment #1 from Wesley Moore <wes at wezm.net> ---
It seems that time is treating the the `ru_maxrss` value as a count of
pages[1][2] but it's already in kilobytes[3]:
> ru_maxrss (since Linux 2.6.32)
> This is the maximum resident set size used (in kilobytes).
[1]: https://git.busybox.net/busybox/tree/miscutils/time.c#n125
[2]: https://git.busybox.net/busybox/tree/miscutils/time.c#n284
[3]: https://man7.org/linux/man-pages/man2/getrusage.2.html
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list