summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-06-07 17:10:44 +0200
committerPatrick Simianer <p@simianer.de>2016-06-07 17:10:44 +0200
commit2380944390691789dfaea133cd76f3c921820272 (patch)
tree1900ab7f7357afcea07d2724577a2ec05484f73a
parent30d1bd804d1e9891287289388015bfecc5e25a12 (diff)
util: run_*
-rwxr-xr-xutil/run_all7
-rwxr-xr-xutil/run_demo4
2 files changed, 11 insertions, 0 deletions
diff --git a/util/run_all b/util/run_all
new file mode 100755
index 0000000..2fc511c
--- /dev/null
+++ b/util/run_all
@@ -0,0 +1,7 @@
+#!/bin/zsh -x
+
+for i in `find ../sessions -maxdepth 1 | cut -d "/" -f 3 | grep -P "^session_"`; do
+ echo $i
+ ./util/run_server $i &
+done
+
diff --git a/util/run_demo b/util/run_demo
new file mode 100755
index 0000000..2140a1c
--- /dev/null
+++ b/util/run_demo
@@ -0,0 +1,4 @@
+#!/bin/zsh -x
+
+for i in {0..24}; do for j in pe nomt; do ./util/run_server g0_"$i"_"$j" &; done; done
+