CmdID

CmdID / Commands

ulimit

Print or set resource limits for process number PID. toybox

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD

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

from tldr-pages, CC BY 4.0

Get and set resource limits for user processes. This is a shell builtin hence not shell-agnostic.

Get the properties of all the user limits

ulimit -aIdentify
-aShow all limits toybox

Get hard limit for the number of simultaneously opened files

ulimit -H -nIdentify
-HSet/show hard (maximum) limit toybox
-nNumber of open files toybox

Get soft limit for the number of simultaneously opened files

ulimit -S -nIdentify
-SSet/show soft limit toybox
-nNumber of open files toybox

Set max per-user process limit

ulimit -u 30Identify
-uMaximum processes (this UID) toybox

Remove limits for a specific resource

ulimit -c unlimitedIdentify
-cCore file size (blocks) toybox

Display help (Bash only)

help ulimitIdentify