comparison bin/isrunning.sh @ 709:c24a1b531b7e

move isrunning to a shell script and kill killbyname since there is pkill nowadays
author Jeff Hammel <k0scist@gmail.com>
date Fri, 05 Sep 2014 14:55:11 -0700
parents
children
comparison
equal deleted inserted replaced
708:fa6c6f64e12b 709:c24a1b531b7e
1 #!/bin/bash
2
3 # are the given processes running?
4
5 for i in "$@";
6 do
7 ps axwww | grep --colour=auto "$i" | grep --colour=auto -v 'grep';
8 done | sort | uniq