Skip to Content
gnux

-P, --max-procs

Run at most MAX-PROCS processes at a time.

An option of xargsx.

Usage

xargsx -P MAX-PROCS [COMMAND [INITIAL-ARGUMENT]...]
xargsx --max-procs=MAX-PROCS [COMMAND [INITIAL-ARGUMENT]...]

Details

ShortLongValueDefaultMeaning
-P--max-procsMAX-PROCSrun at most MAX-PROCS processes at a time

Examples

Checksum many files four commands at a time

findx . -type f -print0 | xargsx -0 -n 50 -P 4 sha256sumx

Help in the terminal

gnux help xargsx --max-procs

On this page