Instantly share code, notes, and snippets.
From this stack overflow thread.
top -c -p $(pgrep -d',' -f NAME)