mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 11:53:11 +02:00
prlimit: add page (#7113)
This commit is contained in:
parent
0230ee6b5b
commit
dfbf2f5bce
1 changed files with 17 additions and 0 deletions
17
pages/linux/prlimit.md
Normal file
17
pages/linux/prlimit.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# prlimit
|
||||||
|
|
||||||
|
> Get or set process resource soft and hard limits.
|
||||||
|
> Given a process ID and one or more resources, prlimit tries to retrieve and/or modify the limits.
|
||||||
|
> More information: <https://manned.org/prlimit>.
|
||||||
|
|
||||||
|
- Display limit values for all current resources for the running parent process:
|
||||||
|
|
||||||
|
`prlimit`
|
||||||
|
|
||||||
|
- Display limit values for all current resources of a specified process:
|
||||||
|
|
||||||
|
`prlimit --pid {{pid number}}`
|
||||||
|
|
||||||
|
- Run a command with a custom number of open files limit:
|
||||||
|
|
||||||
|
`prlimit --nofile={{10}} {{command}}`
|
Loading…
Add table
Reference in a new issue