blob: 00c0a65ab02c56de454549b7e6b1f1c827f0b724 (
plain)
1
2
3
4
|
#!/bin/bash
for i in {1..6}; do ps ax | grep -P "(server.rb|server-neural.rb|wrapper.rb|atools|net_fa|sa.extract|dtrain|lamtram|truecase.perl)" | grep -v vim | grep -v -P "^\s\+$" | cut -d " " -f $i | xargs kill -9 &>/dev/null; done
|