Killing the most resource-intensive process


A fun little one-liner from Claude to kill the most resource-intensive process owned by me:

pkill -9 -f "$(ps -U $USER -o pid,command --sort=-pmem | awk 'NR>1 {print $2; exit}')"