prlimit
linux
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 info →Options (2)
-p, --pidbooleanDisplay limit values for all current resources of a specified process
Example:
prlimit {{[-p|--pid]}} {{pid_number}}-nbooleanRun a command with a custom number of open files limit
Example:
prlimit {{[-n|--nofile=]}}{{10}} {{command}}made by @shridhargupta | data from tldr-pages