[jump to content][No Software Patents]Tools (new) : timestart [ Home | Scylla+Charybdis old home | Tools (old) | Tools (new) | FAQ | Downloads ]

Moving to GitHub, slowly

The software on this pages will slowly be moved to GitHub https://github.com/hilbix/. The CVS repository will be migrated to GIT as well, so the history will be preserved, a bit. See FAQ.

Scylla and Charybdis, timestart - Tools

The tools are developed under Linux with ESR's paradigm release early, release often in mind.
So you can consider this beta software, or alpha, or pre-alpha, or even worse ;)

Have a look in the download directory for all downloads.
As always here, all you get is the source. No binaries here.

timestart 0.1.0-20111013-022104

Start a program N-M times in parallel by running it it each A-B seconds


⇒ ⇒ ⇒ The development shifted to another location. All future versions will be published at https://github.com/hilbix/timestart   ⇐ ⇐ ⇐


timestart N M A B program tries to keep N running programs in parallel. The interval between program execution is adjusted accordingly.

timestart keeps some bounds, it never executes more than M programs in parallel and the interval is kept between A and B seconds.

If the program not returns 0 (or true), the next invocation is delayed B seconds, but this has no influence on the calculated interval.

Also following signals are honored: SIGHUP makes the program terminate after all childs are finished; SIGUSR1 halts the spawning of new programs; SIGUSR2 continues and immediately spawns a new program; SIGWINCH print statistics to stderr

Note that timestart will run more than M programs if SIGUSR2 is sent more often, as these signals are meant to help in debugging. Signals to parent processes can be sent easily using $PPID, so the child tasks can control timestart a bit.

The debug output of timestart is written to FD3 if this FD is redirected somewhere.

History:

version 0.1.0-20111013-022104

download (10746 bytes) sig

Bugfix release, also statistics on SIGWINCH added

SIGWINCH is a convenience feature. Resize the terminal and you get a statistics for free ;)

version 0.0.0-20110912-171437

(9217 bytes archive)

A rough first version

License and Disclaimer

All you can see here is free software according to the GNU GPL.
Copyright (C)2000-2011 by Valentin Hilbig
Note that the software comes with absolutely no warranty of any kind.
You use the software at your own risk.
Valentin Hilbig cannot be hold responsible for any unintended damage,
lost data or malfunction of the software you can find here.

[FSFE contributor 2007]

[end of page - jump back to content][hacker culture]
Last modified: 2011-09-12 by Valentin Hilbig [ Imprint / Impressum ]