diff --git a/pages/linux/prlimit.md b/pages/linux/prlimit.md new file mode 100644 index 000000000..dccb13d67 --- /dev/null +++ b/pages/linux/prlimit.md @@ -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: . + +- 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}}`