1. use pstree to get the tree2. use ps -g <group id>3. use ps -j to list group id4. use ps | awk | xargs kill -9