diff -r 98aec1d9e2a0 Doc/library/resource.rst --- a/Doc/library/resource.rst Mon Jul 21 18:37:36 2014 -0400 +++ b/Doc/library/resource.rst Wed Jul 23 08:56:36 2014 +0200 @@ -281,6 +281,8 @@ | ``1`` | :attr:`ru_stime` | time in system mode (float) | +--------+---------------------+-------------------------------+ | ``2`` | :attr:`ru_maxrss` | maximum resident set size | + | | | (in kilobytes on Linux and | + | | | BSD, in bytes on OSX) | +--------+---------------------+-------------------------------+ | ``3`` | :attr:`ru_ixrss` | shared memory size | +--------+---------------------+-------------------------------+ @@ -316,10 +318,7 @@ .. function:: getpagesize() Returns the number of bytes in a system page. (This need not be the same as the - hardware page size.) This function is useful for determining the number of bytes - of memory a process is using. The third element of the tuple returned by - :func:`getrusage` describes memory usage in pages; multiplying by page size - produces number of bytes. + hardware page size.) The following :const:`RUSAGE_\*` symbols are passed to the :func:`getrusage` function to specify which processes information should be provided for.