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>.
Install
- All systems
-
curl cmd.cat/prlimit.sh
- Debian
-
apt-get install util-linux - Ubuntu
-
apt-get install util-linux -
Alpine
-
apk add util-linux - Arch Linux
-
pacman -S util-linux - Kali Linux
-
apt-get install util-linux - CentOS
-
yum install util-linux - Fedora
-
dnf install util-linux - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install util-linux - OS X
-
brew install util-linux - Raspbian
-
apt-get install util-linux - Docker
-
docker run cmd.cat/prlimit prlimitpowered by Commando
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
© tl;dr; authors and contributors