How to Use ulimit to manage different types of system resources through some Parameter options. In this section, we will explain how to use these parameters. The format of the www.2cto.com ulimit command is ulimit [options] [limit]. For the specific options meaning and simple examples, see the following table. Table 1. ulimit parameter description: www.2cto.com option [options] Meaning example-H sets the hard resource limit. Once set, it cannot be added. Ulimit-Hs 64; hard resources are restricted. The thread stack size is 64 KB. -S sets the soft resource limit. It can be added after setting, but cannot exceed the hard resource setting. Ulimit-Sn 32; restrict soft resources and 32 file descriptors. -A displays all current limit information. Ulimit-a; displays all current limit information. -C: maximum core file size, in blocks. Ulimit-c unlimited; the size of the generated core file is not limited. -The maximum data segment size of the d process, in Kbytes. Ulimit-d unlimited; do not limit the Data Segment Size of the process. -F process can create the maximum number of files, in blocks. Ulimit-f 2048; restrict the maximum file size that can be created by a process to 2048 blocks. -L maximum lockable memory size, in Kbytes. Ulimit-l 32; the maximum lockable memory size is 32 Kbytes. -Maximum memory size of m, in Kbytes. Ulimit-m unlimited; maximum memory is not limited. -N indicates the maximum number of file descriptors that can be opened. Ulimit-n 128; a maximum of 128 file descriptors can be used. The size of the-p MPs queue buffer, in Kbytes. Ulimit-p 512; limit the MPs queue buffer size to 512 Kbytes. -S thread stack size, in Kbytes. Ulimit-s 512; limits the thread stack size to 512 Kbytes. -T indicates the maximum CPU usage time, in seconds. Ulimit-t unlimited; the maximum CPU usage time is not limited. -U maximum number of processes available to users. Ulimit-u 64; limit that users can use up to 64 processes. -V process maximum available virtual memory, in Kbytes. Ulimit-v 200000; Limit the maximum available virtual memory to 200000 Kbytes.