This patch set adds the ability to start a new process with its affinity
and sched parameters defined on the tuna command line.
To do so, the new parameter -r was added to tuna's command line. This
option will fork a new process, set the sched tunables and affinity,
and execute the new application's code. If arguments are passed, the
entire command line must be provided inside "quotes".
Tuna will wait for the new process to return, and then continue its
execution. That means that it is possible to execute many Actions after
the creation of the new process, including the start of many process in
a single command line.
Daniel Bristot de Oliveira (2):
CLI: start a process from tuna
docs: uptade tuna.8 man page with option -r
docs/tuna.8 | 7 +++--
tuna-cmd.py | 98 ++++++++++++++++++++++++++++++++++++++++++++----------------
tuna/tuna.py | 59 ++++++++++++++++++++++++++++--------
3 files changed, 124 insertions(+), 40 deletions(-)
--
1.9.3