Module nix::sys::resource

source ·
Available on crate feature resource only.
Expand description

Configure the process resource limits.

Structs

Output of getrusage with information about resource usage. Some of the fields may be unused in some platforms, and will be always zeroed out. See their manuals for details.

Enums

Types of process resources.
Whose resource usage should be returned by getrusage.

Constants

Functions

Get the current processes resource limits
Get usage information for a process, its children or the current thread
Set the current processes resource limits

Type Definitions