From 29ca42a8605ff29524ed287f384d5113f1ec30d7 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 15 Jul 2016 12:17:01 +0200 Subject: mv --- util/kill | 4 ---- util/kill_all | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100755 util/kill create mode 100755 util/kill_all diff --git a/util/kill b/util/kill deleted file mode 100755 index e82f822..0000000 --- a/util/kill +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -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 - diff --git a/util/kill_all b/util/kill_all new file mode 100755 index 0000000..e82f822 --- /dev/null +++ b/util/kill_all @@ -0,0 +1,4 @@ +#!/bin/bash + +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