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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.