Quick solution for searching string among the ps aux result and kill all processes matching the name.

ps -ef | grep "UID SEARCH" | <br class="mobile-break"> grep -v grep<br class="mobile-break"> | awk '{print $2}' | xargs kill -9

Previous Post Next Post