diff options
Diffstat (limited to 'bin/slay')
-rwxr-xr-x | bin/slay | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/slay b/bin/slay new file mode 100755 index 00000000..0028e0c8 --- /dev/null +++ b/bin/slay @@ -0,0 +1,6 @@ +#!/bin/sh + +for i +do + psu | awk '$NF ~ /^('$i')$/ {printf("/bin/kill -9 %d # %s\n", $2, $0);}' +done |