Search Mailing List Archives
[mininet-discuss] How to run multi process?
William Emmanuel S. Yu
wyu at ateneo.edu
Sat Jul 8 15:06:03 PDT 2017
They are processes. In fact, they all have separate shells if you spawn
xterms. Normally when designing experiments try to make each process atomic
and write their own files or data. You have them spawn from launching
common binaries/scripts and input read only data. Just be careful and watch
out for race conditions.
On 9 Jul 2017 00:43, "Yu Hao" <jimmy19940111 at gmail.com> wrote:
Hi, I'm still struggling with multi process problems.
If I run
sudo mn -x
then I can got two hosts pop up, does it mean each xterm window is an
independent process, and if I want to run a script on each host, does it
mean this each script can run on each process?
If I have say 20 hosts and I want them to run each script simultaneously,
how could I run them automatically?
I'm using host.popen(), I just want to make sure does it mean I can run
them on each process instead of thread?
I'm not sure whether I'm on the right track because I still found influence
between different hosts(maybe just 20 hosts) and It shows 'subprocess'
instead of process.
mininet-discuss mailing list
mininet-discuss at lists.stanford.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mininet-discuss