Kill Process Group Linux
# Find process group ID using child process name
PGID=$(ps -ej | grep some-process-child | head -1 | awk '{print $2}')
# Kill process group using group ID
kill -- -$PGID
Muddy Moose