mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-01 21:17:56 +01:00
Merge pull request #517 from Cvetomird91/ulimit
This commit is contained in:
commit
d973b1aa2b
1 changed files with 19 additions and 0 deletions
19
pages/linux/ulimit.md
Normal file
19
pages/linux/ulimit.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# 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`
|
Loading…
Reference in a new issue