Linux API to determine sockets owned by a process

后端 未结 7 2085
被撕碎了的回忆
被撕碎了的回忆 2020-12-23 01:50

Is there a Linux library that will enable me to tell what IP sockets are owned by what processes? I guess I\'m looking for the programmatic equivalent of lsof -i

相关标签:
7条回答
  • 2020-12-23 02:31

    I'd go to the source:

    http://ubuntuforums.org/showthread.php?t=1346778

    0 讨论(0)
提交回复
热议问题