difference between netstat and ss in linux?

前端 未结 5 849
自闭症患者
自闭症患者 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条回答
  •  暖寄归人
    2021-01-30 21:10

    I've made a comparison table (in Google Docs) (light HTML link) for converting between netstat and ss arguments. It's too big to include and update it here.

    The short version of difference between short arguments is:

    Arguments that require attention: r N i g M W T v C F c A U 2 f

    Arguments that are safe to leave as is: h V l a n Z s p e o 4 6 x t u S w

提交回复
热议问题