Here’s how to isolate a process via the top command.

<pre lang="bash">
top -c -p $(pgrep -f process_name | head -20 | tr "\\n" "," | sed 's/,$//')