Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [bug] TIMEFMT=%M reports value in mebibyte, not kibibytes
2021-06-18 21:31:56 +0100, Stephane Chazelas:
[...]
> Still the claim that %M gives kilobytes is wrong on most
> systems.
[...]
FWIW, ru_maxrss was already in kibibytes in the original
getrusage() implementation in BSD4.2 in 1985.
It may be that it's in bytes (or at least documented to be in
bytes) on macos only: https://manpagez.com/man/2/getrusage/
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author