@stdlib/utils-parallel-cli
v0.3.2
Published
Execute scripts in parallel.
Downloads
33
Readme
Parallel
Execute scripts in parallel.
Installation
To use as a general utility, install the CLI package globally
npm install -g @stdlib/utils-parallel-cli
Usage
Usage: parallel [options] <script1> <script2> ...
Options:
-h, --help Print this message.
-V, --version Print the package version.
--cmd cmd Executable file/command.
--workers num Number of workers.
--concurrency num Number of scripts to run concurrently.
--ordered Preserve order of script output.
--uid uid Process user identity.
--gid gid Process group identity.
--maxbuffer size Max buffer size for stdout and stderr.
Examples
$ parallel --cmd 'node' --workers 4 --concurrency 8 ./1.js ./2.js ./3.js ./4.js ./5.js ./6.js ./7.js ./8.js ./9.js ./10.js
See Also
@stdlib/utils-parallel
: execute scripts in parallel.
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.