plan9port/bin/kill

7 lines
96 B
Bash
Executable File

#!/bin/sh
for i
do
psu | awk '$NF ~ /^('$i')$/ {printf("/bin/kill %d # %s\n", $2, $0);}'
done