snippetbashTip
prlimit — Get or set process resource soft and hard limits. Given a process ID and one or more resources, prli
Viewed 0 times
resourcecommandsoftprocessclisetprlimitget
linux
Problem
How to use the
prlimit command: 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>.Solution
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:
prlimitDisplay limit values for all current resources of a specified process:
prlimit {{[-p|--pid]}} {{pid_number}}Run a command with a custom number of open files limit:
prlimit {{[-n|--nofile=]}}{{10}} {{command}}Code Snippets
Display limit values for all current resources for the running parent process
prlimitDisplay limit values for all current resources of a specified process
prlimit {{[-p|--pid]}} {{pid_number}}Run a command with a custom number of open files limit
prlimit {{[-n|--nofile=]}}{{10}} {{command}}Context
tldr-pages: linux/prlimit
Revisions (0)
No revisions yet.