Jon Hall | 3a44010 | 2015-07-06 14:47:26 -0700 | [diff] [blame] | 1 | #!/bin/bash |
2 | # This script will kill any TestON, ssh, and Mininet sessions that are running. | ||||
3 | sudo kill -9 `ps -ef | grep "./cli.py" | grep -v grep | awk '{print $2}'` | ||||
4 | sudo kill -9 `ps -ef | grep "ssh -X" | grep -v grep | awk '{print $2}'` | ||||
5 | sudo mn -c |