Name
limit
Synopsis
limit [-h] [resource
[limit
]]
Display limits or set a limit on
resources used by the current process and by each process it
creates. If no limit is given, the current
limit is printed for resource. If
resource also is omitted, all limits are
printed. By default, the current soft limits are shown or set;
with -h
, hard limits are used. A soft limit may
be increased or decreased without requiring special privileges. A
hard limit imposes an absolute limit that can’t be exceeded. Only
a privileged user may raise it. See also unlimit.
Option
-
-h
Use hard, not soft, limits.
Resources
|
Maximum number of per-process threads. Not available on all systems. |
|
Maximum size of a core dump file. |
|
Maximum number of seconds the
CPU can spend; can be abbreviated as |
|
Maximum size of data (including stack). |
|
Maximum number of open files. |
|
Maximum size of any one file. |
|
Maximum number of processes. |
|
Maximum size a process can lock into memory. |
|
Maximum amount of physical memory that can be allocated to a process. |
|
Maximum size of a socket buffer. Not available on all systems. |
|
Maximum size of stack. |
|
Maximum amount of virtual memory that can be allocated to a process. |
Limit
A number followed by an optional character (a unit specifier).
For |
|
| |
| |
For others: ... |
Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.