man getrusage 2
dice
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.
Cosa significa esattamente questo numero?
ru_maxss
è in byte su macchine Mac OS X (Darwin), ma in kilobyte su macchine BSD e macchine Linux. Vedi stackoverflow.com/q/40773924/781723 e stackoverflow.com/q/12050913/781723 .
ru_maxrss
è in byte su macchine mac / BSD.