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

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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