8.14 resource -- Resource usage information

Python 2.2

8.14 resource -- Resource usage information

Availability: Unix.

This module provides basic mechanisms for measuring and controlling system resources utilized by a program.

Symbolic constants are used to specify particular system resources and to request usage information about either the current process or its children.

A single exception is defined for errors:

The functions described below may raise this error if the underlying system call failures unexpectedly.


See About this document... for information on suggesting changes.