Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
OnosSystemTest
/
974023e8ee0b956c0a63156e14f302e012fcb7e7
/
.
/
TestON
/
bin
/
cleanup.sh
blob: d921147e0a7308486197c0e39bd063795f4786d7 [
file
] [
log
] [
blame
]
#!/bin/bash
# This script will kill any TestON, ssh, and Mininet sessions that are running.
sudo kill
-
9
`ps -ef | grep "./cli.py" | grep -v grep | awk '{print $2}'`
sudo kill
-
9
`ps -ef | grep "ssh -X" | grep -v grep | awk '{print $2}'`
sudo mn
-
c