Search Mailing List Archives
[mininet-discuss] How to use cmd in code script to ping hosts and show the results
Soliman Awad Alshra´a Abdullah TU Ilmenau
Abdullah.Alshraa at tu-ilmenau.de
Tue May 29 05:40:44 PDT 2018
I have 10 hosts and 1 server
I need the hosts to ping the server many times (for example, 100 times )
how can I do that when I write my code script. () without using CLI
can I use cmd command
and If I can, how to show the results.
I think to do something like this
for I in range(0,100)
H(i).cmd('ping -c1 %s'% server)
and I don't know how to show the results
could anyone guide me.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mininet-discuss