Bug 9511

Summary: xargs does not support parallel -P
Product: Busybox Reporter: Jonathan <jadit2>
Component: Standard ComplianceAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Jonathan 2016-12-26 22:53:33 UTC
A critically needed feature I use a lot is GNU xargs parallel operations. Often the parallel xargs operations are better than the cli util "parallel" for my use-cases. 

Example:
find samplegz | xargs -n1 -P4 sh parse.sh

P4 says have at most 4 commands running at the same time

For examples:
https://www.xaprb.com/blog/2009/05/01/an-easy-way-to-run-many-tasks-in-parallel/
Comment 1 Denys Vlasenko 2017-08-24 11:24:52 UTC
Fixed in git.