The following is a frame by frame account of the example shown on shmux's homepage. It gives a decent overview of shmux's basic capabilities and default behaviour. It is important to understand that shmux is extremely configurable and has many advanced features which are difficult to showcase with a single and simple example.
This frame shows how shmux is invoked:
|
![]() |
| As soon as it starts, shmux spawns two children processes (shown as 2 Active) | ![]() |
| Probably as a direct result, the load average slightly raises | ![]() |
| This frame shows that 2 tests were completed successfully (2
OK), there is at this instant only one active child. By default, shmux will only run the command on one target first, and then more once the first command has completed successfully. (The careful reader will note that another child should have been spawned to run a test command. This was a minor bug which was fixed after these screen shots were taken.) |
![]() |
First line of output from the command running on host. |
![]() |
The command running on host sent output on the
standard error (shown in bold) which (by default) is considered an
error by the analyzer as shown here.The command has also completed (shown as 1 Done). |
![]() |
| As a result, shmux pauses. (This default behaviour is configurable.) |
![]() |
| Once the user presses the enter key, shmux resumes activity, spawning 2 children right away. | ![]() |
| Another test has succeeded. | ![]() |
First line of output from the command running on
somehost |
![]() |
More output from the command running on somehost,first line of output frmo the command running on anotherhost.Another target is done. |
![]() |
More output from the command running on anotherhost.Another target is done. |
![]() |
| Another test succeeds. | ![]() |
| The last test succeeds. | ![]() |
First line of output from randomhost. |
![]() |
First line of output from oink.More output from randomhost. As with
host this is considered to be erroneous.At this point shmux would pause again (by default), but as there are no more work to be done, it can't do really so. (Running children cannot be paused.) | ![]() |
More output from oink, again, considered to be
erroneous |
![]() |
| Upon completion, shmux provides a summary of what was done. | ![]() |