ulimit

Official Description

Sets or displays a resource limit.

Syntax

ulimit [-HSacdfmnstvw] [limit]

Options

-a lists current limits.

-c displays the maximum size of core dump files.

-d displays the maximum size of data area.

-f displays the maximum file size.

-m displays the limit on physical memory usage.

-n displays the maximum number of concurrently open files.

-s displays the maximum stack size.

-t displays the maximum CPU time in seconds.

-v displays the maximum virtual memory (kb).

-w displays the maximum swap area (kb) (not available on all UNIX variants).

Oddities

The H and S options specify whether the hard limit or the soft limit for the given resource is set.

A hard limit cannot be increased after it is set.

A soft limit can be ...

Get Korn Shell Programming by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.