blob: 2d78b1e5120b399375c7f3a208782a861b4a8d52 [file] [log] [blame]
Jon Hall3a440102015-07-06 14:47:26 -07001#!/bin/bash
2# 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