Töten Sie die Prozessgruppe 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