Usage: parexec NUMTHREADS
where NUMTHREADS is the number of commands you want to execute in parallel

The commands are read from stdin. Empty lines are ignored. Lines containing a single `-' instruct parexec to wait until all previous commands have finished before starting to execute further commands.

When sending a SIGINT to parexec (usually done when you hit CTRL-C) it will wait for currently running processes, but if they are done parexec will exit ignoring all the following commands.
When sending a SIGQUIT to parexec (usually done when you hit CTRL-\) or by sending SIGTERM to parexec (e.g. with kill parexec_pid) it will terminate the running processes immediately and exit.

After the start of parexec your shell window will be split up horizontally into NUMTHREADS sections. Each section containing the output of one command (which will scroll away as your command writes too much) and a status bar.

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 2.0 (GPLv2)

Follow parexec

parexec Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of parexec!

Additional Project Details

Operating Systems

Linux

Intended Audience

Advanced End Users, System Administrators

User Interface

Console/Terminal, Curses/Ncurses

Programming Language

C++

Related Categories

C++ Symmetric Multiprocessing (SMP) Software

Registered

2019-10-03