difference between netstat and ss in linux?

前端 未结 5 841
自闭症患者
自闭症患者 2021-01-30 20:36

In linux, netstat command tells us information of active sockets in system.

I understand that netstat uses /proc/net/tcp to acquire the system

5条回答
  •  -上瘾入骨i
    2021-01-30 21:26

    It gets them from kernel space directly using Netlink which uses the classic sockets API.

提交回复
热议问题