ulimit
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)Several platforms
Get and set resource limits for user processes. This is a shell builtin hence not shell-agnostic.
Get hard limit for the number of simultaneously opened files
ulimit -H -nIdentify-HSet/show hard (maximum) limit toybox-nNumber of open files toyboxGet soft limit for the number of simultaneously opened files
ulimit -S -nIdentify-SSet/show soft limit toybox-nNumber of open files toyboxDisplay help (Bash only)
help ulimitIdentify