pingping-lin | 500727a | 2015-09-02 19:53:11 -0700 | [diff] [blame^] | 1 | killTestONall(){ |
2 | sudo kill -9 `ps -ef | grep "./cli.py" | grep -v grep | awk '{print $2}'` | ||||
3 | sudo kill -9 `ps -ef | grep "ssh -X" | grep -v grep | awk '{print $2}'` | ||||
4 | sudo mn -c | ||||
5 | sudo pkill bgpd | ||||
6 | sudo pkill zebra | ||||
7 | sudo kill -9 `ps -ef | grep "bird" | grep -v grep | awk '{print $2}'` | ||||
8 | } |