summaryrefslogtreecommitdiff
path: root/kill
blob: 34d7ed4382abb628dd47924c48e76f76713afecb (plain)
1
2
3
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