start page | rating of books | rating of authors | reviews | copyrights

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: typesetChapter 4
The Bourne Shell and Korn Shell
Next: Reference: umask
 

ulimit

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.

Options

-H

Hard limit. Anyone can lower a hard limit; only privileged users can raise it.

-S

Soft limit. Must be lower than the hard limit.

-a

Print all limits.

-c

Maximum size of core files.

-d

Maximum kilobytes of data segment or heap.

-f

Maximum size of files (the default option).

-m

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

-n

Maximum file descriptor plus 1.

-p

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

-s

Maximum kilobytes of stack segment.

-t

Maximum CPU seconds.

-v

Maximum kilobytes of virtual memory.


Previous: Reference: typesetUNIX in a Nutshell: System V EditionNext: Reference: umask
Reference: typesetBook IndexReference: 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