mirror of https://github.com/CrimsonTome/tldr.git
20 lines
309 B
Markdown
20 lines
309 B
Markdown
|
# ulimit
|
||
|
|
||
|
> Get and set user limits.
|
||
|
|
||
|
- Get the properties of all the user limits:
|
||
|
|
||
|
`ulimit -a`
|
||
|
|
||
|
- Get hard limit for the number of simultaneously opened files:
|
||
|
|
||
|
`ulimit -H -n`
|
||
|
|
||
|
- Get soft limit for the number of simultaneously opened files:
|
||
|
|
||
|
`ulimit -S -n`
|
||
|
|
||
|
- Set max per-user process limit:
|
||
|
|
||
|
`ulimit -u 30`
|