prlimit
Print or set resource limits for process number PID. toybox
On Linux
Linux
Print or set resource limits for process number PID. If no LIMIT specified (or read-only -ap selected) display current value (sizes in bytes). Default is ulimit -P $PPID -Sf" (show soft filesize of your shell).
ulimit [-P PID] [-SHRacdefilmnpqrstuv] [LIMIT]
Show 20 options
-P PIDPID to affect (default $PPID)-aShow all limits-SSet/show soft limit-HSet/show hard (maximum) limit-cCore file size (blocks)-dProcess data segment (KiB)-eMax scheduling priority-fFile size (KiB)-iPending signal count-lLocked memory (KiB)-mResident Set Size (KiB)-nNumber of open files-pPipe buffer (512 bytes)-qPOSIX message queues-rMax realtime priority-RRealtime latency (us)-sStack size (KiB)-tTotal CPU time (s)-uMaximum processes (this UID)-vVirtual memory size (KiB)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.
Display limit values for all current resources for the running parent process
prlimitIdentifyDisplay limit values for all current resources of a specified process
prlimit --pid process_id_numberIdentifyRun a command with a custom number of open files limit
prlimit --nofile=10 commandIdentify