1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 21:17:57 +01:00
tldr/pages/linux/prlimit.md
2022-01-17 09:40:17 -03:00

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