Useful for debugging:$ ps aux | grep $PROCESS_NAME $ ls -l /proc/$PID/fd $ sudo lsof -i -a -p $PID
$ ps aux | grep $PROCESS_NAME $ ls -l /proc/$PID/fd $ sudo lsof -i -a -p $PID