From c5b3c69696672cabefc386c61a5ac5fe4ef4ab9a Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Tue, 7 Jun 2016 17:09:23 +0200 Subject: util/kill: kill truecasers --- util/kill | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/kill b/util/kill index c951fc9..e82f822 100755 --- a/util/kill +++ b/util/kill @@ -1,4 +1,4 @@ #!/bin/bash -for i in {1..6}; do ps ax | grep -P "(server.rb|wrapper.rb|atools|net_fa|sa.extract|dtrain)" | grep -v vim | grep -v -P "^\s\+$" | cut -d " " -f $i | xargs kill -9 &>/dev/null; done +for i in {1..6}; do ps ax | grep -P "(server.rb|wrapper.rb|atools|net_fa|sa.extract|dtrain|truecase.perl)" | grep -v vim | grep -v -P "^\s\+$" | cut -d " " -f $i | xargs kill -9 &>/dev/null; done -- cgit v1.2.3 From 2380944390691789dfaea133cd76f3c921820272 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Tue, 7 Jun 2016 17:10:44 +0200 Subject: util: run_* --- util/run_all | 7 +++++++ util/run_demo | 4 ++++ 2 files changed, 11 insertions(+) create mode 100755 util/run_all create mode 100755 util/run_demo (limited to 'util') 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 + -- cgit v1.2.3