Find

rust-parallel – execute commands in parallel

rust-parallel is a command-line utility to execute commands in parallel and aggregate their output.

It offers a similar interface to parallel or xargs.

This is free and open source software.

rust-parallel prevents output interleaving and is very fast. There are 2 options:

  • By default 2 pipes are opened for each spawned child process to capture stdout and stderr and send it back to the parent process. There is a single task in the parent process using a tokio::sync::mpsc::channel to receive and do a non-blocking copy of each child’s output to stdout and stderr. All output from each child process is processed by this task, so there is no output interleaving. Temporary output is not written to disk.
  • The -d, --discard-output option can be used to discard stdout, stderr, or both from spawned child processes. This reduces the number of pipes opened and data copied. This may make rust-parallel even faster if child processes produce unnecessary output.

Website: github.com/aaronriekenberg/rust-parallel
Support:
Developer: Aaron Riekenberg
License: Apache License 2.0

Help for rust-parallel

rust-parallel is written in Rust. Learn Rust with our recommended free books and free tutorials.

Alternatives to xargs


Explore Linux

Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category.
In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality.

The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions.
Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others.
Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems.
Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks.
Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems.
Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux.
Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools.
Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux.
Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted