# 8.15 `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:

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

Subsections

- 8.15.1 Resource Limits
- 8.15.2 Resource Usage