From dfbf2f5bce887b3c95248e5bb8f3b7bf8a29acbe Mon Sep 17 00:00:00 2001 From: endorama <526307+endorama@users.noreply.github.com> Date: Mon, 17 Jan 2022 13:40:17 +0100 Subject: [PATCH] prlimit: add page (#7113) --- pages/linux/prlimit.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pages/linux/prlimit.md diff --git a/pages/linux/prlimit.md b/pages/linux/prlimit.md new file mode 100644 index 0000000000..dccb13d672 --- /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}}`