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.
v1 -> v2
- The option -T was removed, and -p was modified to act as a Modifier
if no THREAD-LIST is set.
Suggested by Arnaldo Carvalho de Melo
- The option -r saves the command line in the THREAD-LIST.
Suggested by Arnaldo Carvalho de Melo
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
Show replies by date