Check network connections made by a process with strace strace -f -e trace=network -o /tmp/strace.txt -s 10000 <cmd> <args> Reference