man getrusage 2 mówi
ru_maxrss (since Linux 2.6.32)
This is the maximum resident set size used (in kilobytes). For RUSAGE_CHILDREN, this is the resident set size of the largest
child, not the maximum resident set size of the process tree.
Co dokładnie oznacza ta liczba?
ru_maxssjest w bajtach na komputerach Mac OS X (Darwin), ale w kilobajtach na komputerach BSD i Linux. Zobacz stackoverflow.com/q/40773924/781723 i stackoverflow.com/q/12050913/781723 .
ru_maxrssw bajtach na komputerach Mac / BSD.