Windows

Linux / Unix

strace

Network

To start and monitor an new process:

''strace -f -e trace=network -s 10000 PROCESS ARGUMENTS
''

To monitor an existing process with a known PID:

''strace -p $PID -f -e trace=network -s 10000''

lsof

''lsof -i -a -p `pidof nc`''

pidof

fuser