home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    


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 size of core files.


Maximum kilobytes of data segment or heap.


Maximum size of files (the default option).


Maximum kilobytes of physical memory. Korn shell only. (Not effective on all Unix systems.)


Maximum file descriptor plus 1.


Size of pipe buffers. Korn shell only. (Not effective on all Unix systems.)


Maximum kilobytes of stack segment.


Maximum CPU seconds.


Maximum kilobytes of virtual memory.

Previous: Reference: typeset UNIX in a Nutshell: System V Edition Next: Reference: umask
Reference: typeset Book Index Reference: umask

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System