git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b9b51e
)
oops, this is a bash script not python
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 24 Apr 2009 16:13:12 +0000
(16:13 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 24 Apr 2009 16:13:12 +0000
(16:13 +0000)
geni/restart-plc.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/geni/restart-plc.sh
b/geni/restart-plc.sh
new file mode 100755
(executable)
index 0000000..
b33a381
--- /dev/null
+++ b/
geni/restart-plc.sh
@@ -0,0
+1,12
@@
+#!/bin/bash
+for i in `ps aux |grep "python plc.py" | head -n3 |awk '{print $2}'` ; do
+ echo "killing $i"
+ kill $i
+done
+
+echo "Start Registry"
+python plc.py -r -d
+echo "Start Aggregate Manager"
+python plc.py -a -d
+echo "Start Slice Manager"
+python plc.py -s -d