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.
-HHard limit. Anyone can lower a hard limit; only privileged users can raise it.
-SSoft limit. Must be lower than the hard limit.
-aPrint all limits.
-cMaximum size of core files.
-dMaximum kilobytes of data segment or heap.
-fMaximum size of files (the default option).
-mMaximum kilobytes of physical memory. Korn shell only. (Not effective on all Unix systems.)
-nMaximum file descriptor plus 1.
-pSize of pipe buffers. Korn shell only. (Not effective on all Unix systems.)
-sMaximum kilobytes of stack segment.
-tMaximum CPU seconds.
-vMaximum kilobytes of virtual memory.