select the process by pid code example Example 1: see detail of pid ps -Flww -p THE_PID Example 2: how to get process id in linux lsof -i tcp:3000 kill -9 pId