@@ -141,7 +141,7 @@ platform.
141141.. data :: RLIMIT_CPU
142142
143143 The maximum amount of processor time (in seconds) that a process can use. If
144- this limit is exceeded, a :const: `SIGXCPU ` signal is sent to the process. (See
144+ this limit is exceeded, a :const: `~signal. SIGXCPU ` signal is sent to the process. (See
145145 the :mod: `signal ` module documentation for information about how to catch this
146146 signal and do something useful, e.g. flush open files to disk.)
147147
@@ -363,47 +363,47 @@ These functions are used to retrieve resource usage information:
363363 For backward compatibility, the return value is also accessible as a tuple of 16
364364 elements.
365365
366- The fields :attr: `ru_utime ` and :attr: `ru_stime ` of the return value are
366+ The fields :attr: `! ru_utime ` and :attr: `! ru_stime ` of the return value are
367367 floating-point values representing the amount of time spent executing in user
368368 mode and the amount of time spent executing in system mode, respectively. The
369369 remaining values are integers. Consult the :manpage: `getrusage(2)` man page for
370370 detailed information about these values. A brief summary is presented here:
371371
372- +--------+---------------------+---------------------------------------+
373- | Index | Field | Resource |
374- +========+=====================+=======================================+
375- | ``0 `` | :attr: `ru_utime ` | time in user mode (float seconds) |
376- +--------+---------------------+---------------------------------------+
377- | ``1 `` | :attr: `ru_stime ` | time in system mode (float seconds) |
378- +--------+---------------------+---------------------------------------+
379- | ``2 `` | :attr: `ru_maxrss ` | maximum resident set size |
380- +--------+---------------------+---------------------------------------+
381- | ``3 `` | :attr: `ru_ixrss ` | shared memory size |
382- +--------+---------------------+---------------------------------------+
383- | ``4 `` | :attr: `ru_idrss ` | unshared memory size |
384- +--------+---------------------+---------------------------------------+
385- | ``5 `` | :attr: `ru_isrss ` | unshared stack size |
386- +--------+---------------------+---------------------------------------+
387- | ``6 `` | :attr: `ru_minflt ` | page faults not requiring I/O |
388- +--------+---------------------+---------------------------------------+
389- | ``7 `` | :attr: `ru_majflt ` | page faults requiring I/O |
390- +--------+---------------------+---------------------------------------+
391- | ``8 `` | :attr: `ru_nswap ` | number of swap outs |
392- +--------+---------------------+---------------------------------------+
393- | ``9 `` | :attr: `ru_inblock ` | block input operations |
394- +--------+---------------------+---------------------------------------+
395- | ``10 `` | :attr: `ru_oublock ` | block output operations |
396- +--------+---------------------+---------------------------------------+
397- | ``11 `` | :attr: `ru_msgsnd ` | messages sent |
398- +--------+---------------------+---------------------------------------+
399- | ``12 `` | :attr: `ru_msgrcv ` | messages received |
400- +--------+---------------------+---------------------------------------+
401- | ``13 `` | :attr: `ru_nsignals ` | signals received |
402- +--------+---------------------+---------------------------------------+
403- | ``14 `` | :attr: `ru_nvcsw ` | voluntary context switches |
404- +--------+---------------------+---------------------------------------+
405- | ``15 `` | :attr: `ru_nivcsw ` | involuntary context switches |
406- +--------+---------------------+---------------------------------------+
372+ +--------+---------------------- +---------------------------------------+
373+ | Index | Field | Resource |
374+ +========+====================== +=======================================+
375+ | ``0 `` | :attr: `! ru_utime ` | time in user mode (float seconds) |
376+ +--------+---------------------- +---------------------------------------+
377+ | ``1 `` | :attr: `! ru_stime ` | time in system mode (float seconds) |
378+ +--------+---------------------- +---------------------------------------+
379+ | ``2 `` | :attr: `! ru_maxrss ` | maximum resident set size |
380+ +--------+---------------------- +---------------------------------------+
381+ | ``3 `` | :attr: `! ru_ixrss ` | shared memory size |
382+ +--------+---------------------- +---------------------------------------+
383+ | ``4 `` | :attr: `! ru_idrss ` | unshared memory size |
384+ +--------+---------------------- +---------------------------------------+
385+ | ``5 `` | :attr: `! ru_isrss ` | unshared stack size |
386+ +--------+---------------------- +---------------------------------------+
387+ | ``6 `` | :attr: `! ru_minflt ` | page faults not requiring I/O |
388+ +--------+---------------------- +---------------------------------------+
389+ | ``7 `` | :attr: `! ru_majflt ` | page faults requiring I/O |
390+ +--------+---------------------- +---------------------------------------+
391+ | ``8 `` | :attr: `! ru_nswap ` | number of swap outs |
392+ +--------+---------------------- +---------------------------------------+
393+ | ``9 `` | :attr: `! ru_inblock ` | block input operations |
394+ +--------+---------------------- +---------------------------------------+
395+ | ``10 `` | :attr: `! ru_oublock ` | block output operations |
396+ +--------+---------------------- +---------------------------------------+
397+ | ``11 `` | :attr: `! ru_msgsnd ` | messages sent |
398+ +--------+---------------------- +---------------------------------------+
399+ | ``12 `` | :attr: `! ru_msgrcv ` | messages received |
400+ +--------+---------------------- +---------------------------------------+
401+ | ``13 `` | :attr: `! ru_nsignals ` | signals received |
402+ +--------+---------------------- +---------------------------------------+
403+ | ``14 `` | :attr: `! ru_nvcsw ` | voluntary context switches |
404+ +--------+---------------------- +---------------------------------------+
405+ | ``15 `` | :attr: `! ru_nivcsw ` | involuntary context switches |
406+ +--------+---------------------- +---------------------------------------+
407407
408408 This function will raise a :exc: `ValueError ` if an invalid *who * parameter is
409409 specified. It may also raise :exc: `error ` exception in unusual circumstances.
0 commit comments