Struct procinfo::pid::Limits [] [src]

pub struct Limits {
    pub max_cpu_time: Limit<Duration>,
    pub max_file_size: Limit<u64>,
    pub max_data_size: Limit<usize>,
    pub max_stack_size: Limit<usize>,
    pub max_core_file_size: Limit<usize>,
    pub max_resident_set: Limit<usize>,
    pub max_processes: Limit<usize>,
    pub max_open_files: Limit<usize>,
    pub max_locked_memory: Limit<usize>,
    pub max_address_space: Limit<usize>,
    pub max_file_locks: Limit<usize>,
    pub max_pending_signals: Limit<usize>,
    pub max_msgqueue_size: Limit<usize>,
    pub max_nice_priority: Limit<usize>,
    pub max_realtime_priority: Limit<usize>,
    pub max_realtime_timeout: Limit<Duration>,
}

Process limits information See man 2 getrlimit.

Fields

The maximum CPU time a process can use.

The maximum size of files that the process may create in bytes.

The maximum size of the process's data segment in bytes.

The maximum size of the process stack in bytes.

Maximum size of a core file in bytes.

Specifies the limit of the process's resident set in bytes.

The maximum number of processes (or, more precisely on Linux, threads) that can be created for the real user ID of the calling process.

Specifies a value one greater than the maximum file descriptor number that can be opened by this process.

The maximum number of bytes of memory that may be locked into RAM.

The maximum size of the process's virtual memory (address space) in bytes.

A limit on the combined number of locks and leases that this process may establish.

Specifies the limit on the number of signals that may be queued for the real user ID of the calling process.

Specifies the limit on the number of bytes that can be allocated for POSIX message queues for the real user ID of the calling process.

Specifies a ceiling to which the process's nice value can be raised.

Specifies a limit on the amount of CPU time that a process scheduled under a real-time scheduling policy may consume without making a blocking system call.

Specifies a ceiling on the real-time priority that may be set for this process.

Trait Implementations

impl Clone for Limits
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Limits
[src]

impl Debug for Limits
[src]

Formats the value using the given formatter.

impl PartialEq for Limits
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Limits
[src]

impl Hash for Limits
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more