plan9port/bin/slay

7 lines
99 B
Text
Raw Normal View History

2003-10-13 18:25:28 +00:00
#!/bin/sh
for i
do
psu | awk '$NF ~ /^('$i')$/ {printf("/bin/kill -9 %d # %s\n", $2, $0);}'
done