1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 23:42:07 +02:00
tldr/pages/linux/prlimit.md
Vitor Henrique 55a49c4ba1
pages*: remove "one or more" from description when superfluous (#12121)
* pages*: remove "one or more" from description when superfluous

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-25 10:58:11 +05:30

510 B

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}}