summaryrefslogtreecommitdiff
path: root/kill
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-05-27 19:19:06 +0200
committerPatrick Simianer <p@simianer.de>2015-05-27 19:19:06 +0200
commit4e5ead06642714990b054ecf68f88b79dbd7b489 (patch)
treeabdc8976504d48533daced3001fecc9eb469388e /kill
parente820e38159390093cdcbf08b2f1a8b7eb0632278 (diff)
bits & pieces
Diffstat (limited to 'kill')
-rwxr-xr-xkill4
1 files changed, 4 insertions, 0 deletions
diff --git a/kill b/kill
new file mode 100755
index 0000000..34d7ed4
--- /dev/null
+++ b/kill
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+for i in {1..6}; do ps ax | grep -P "(server.rb|atools|net_fa|sa.extract|dtrain)" | grep -v vim | grep -v -P "^\s\+$" | cut -d " " -f $i | xargs kill -9; done
+