Function Description: Controls the resources of the shell program.
Grammar: ulimit&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-ahs] [C <core file upper limit] [-D < data section size] [F < file size] [m < memory size] [-N < number of files] [-p < buffer size] [-s < stacking size] [t <cpu time] [-U < Program number] [-v < virtual memory size]
Supplemental Note: Ulimit is a shell-built directive that can be used to control the resources of shell execution programs.
Parameters:
-a displays the current resource constraint settings.
-c <core File upper limit > Set core file maximum value, in blocks.
-D < data section size > Program Data section Maximum, in kilobytes.
-F < file size > The largest file the shell can establish, in blocks.
-H set the hard limit of the resource, which is the limit set by the administrator.
-m < memory size > Specifies the maximum amount of memory that can be used, in kilobytes.
-N < number of files > Specify the maximum number of files that can be opened at the same time.
-p < buffer size > Specifies the size of the pipe buffer, in units of 512 bytes.
-s < stacking size > Specifies the upper bound of the stack in kilobytes.
-S sets the flexibility limit for resources.
-T <CPU time > Specify the maximum CPU usage time in seconds.
-U < number of programs > The maximum number of programs that users can open.
-v < virtual memory size > Specify the maximum amount of virtual memory that can be used, in kilobytes.