soft and hard file limits - edited descriptions
This commit is contained in:
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`
|
Reference in New Issue
Block a user