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


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: kill Chapter 5
The C Shell
Next: Reference: login
 

limit



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 is also omitted, all limits are printed. By default, the current limits are shown or set; with -h , hard limits are used. A hard limit imposes an absolute limit that can't be exceeded. Only a privileged user may raise it. See also unlimit .

Resource

cputime

Maximum number of seconds the CPU can spend; can be abbreviated as cpu .

filesize

Maximum size of any one file.

datasize

Maximum size of data (including stack).

stacksize

Maximum size of stack.

coredumpsize

Maximum size of a core dump file.

Limit

A number followed by an optional character (a unit specifier).

For cputime : n h (for n hours), n m (for n minutes), mm : ss (minutes and seconds),

For others: n k (for n kilobytes, the default), n m (for n megabytes)


Previous: Reference: kill UNIX in a Nutshell: System V Edition Next: Reference: login
Reference: kill Book Index Reference: login

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