6 lines
99 B
Bash
Executable file
6 lines
99 B
Bash
Executable file
#!/bin/sh
|
|
|
|
for i
|
|
do
|
|
psu | awk '$NF ~ /^('$i')$/ {printf("/bin/kill -9 %d # %s\n", $2, $0);}'
|
|
done
|