ulimit
[options
] [n
]
Print the value of one or more resource limits, or, if n
is specified,
set a resource limit to n
. Resource limits can be either
hard (-H) or
soft (-S). By default, ulimit sets both limits or
prints the soft limit. The options determine which resource is acted on.
Hard limit. Anyone can lower a hard limit; only privileged users can raise it.
Soft limit. Must be lower than the hard limit.
Print all limits.
Maximum block size of core files.
Maximum kbytes of data segment or heap.
Maximum block size of files (the default option).
Maximum file descriptor plus 1.
Maximum kbytes of stack segment
Maximum CPU seconds.
Maximum kbytes of virtual memory.