基本逻辑就是,1)ls -l /proc/<pid>/fd [~]$ ll /proc/12753/fd lrwx---. 1 xxx xxx 64 3月 8 18:50 3 -> socket:[841683]2)利用上述的socket-inode过滤/proc/net/tcp [~]$ cat /proc/net/tcp | grep 841683 sl local_address rem_address st tx_queue rx_queue ...