blob: dd4840ff3bb9cdc7431c516d20e7eed451592fbf [file] [log] [blame]
Jon Hall685359e2015-08-28 11:11:47 -07001#!/bin/bash
Jon Hall3a440102015-07-06 14:47:26 -07002# This script will kill any TestON, ssh, and Mininet sessions that are running.
3sudo kill -9 `ps -ef | grep "./cli.py" | grep -v grep | awk '{print $2}'`
Jon Hallf632d202015-07-30 15:45:11 -07004sudo kill -9 `ps -ef | grep "bin/teston" | grep -v grep | awk '{print $2}'`
Jon Hall3a440102015-07-06 14:47:26 -07005sudo kill -9 `ps -ef | grep "ssh -X" | grep -v grep | awk '{print $2}'`
6sudo mn -c
Jon Hall685359e2015-08-28 11:11:47 -07007sudo pkill -f mn.pid
pingping-lin90dfe2f2015-09-28 10:57:42 -07008sudo pkill bgpd
9sudo pkill zebra
pingping-lin5f964c62015-12-16 11:35:08 -080010sudo pkill vrrpd
pingping-lin90dfe2f2015-09-28 10:57:42 -070011sudo kill -9 `ps -ef | grep "bird" | grep -v grep | awk '{print $2}'`