Show only the processes with the given PID(s), passed as a comma-separated list. (Normally you wouldn't know PIDs off hand. This example picks the PIDs from the process name)

top

top -p $(pgrep -d ',' {{process_name}})

click the source code to copy install top on any operating system with command-not-found.com