Linux & Sysadmin openstack and kvm journal

by Michał Błaszczak

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

ps -ef | grep "UID SEARCH" | 
grep -v grep
| awk '{print $2}' | xargs kill -9