Lonenso
V2EX  ›  问与答

出现 ss -antp 比 netstat -antp 慢的情况,为何没人提到过?

  •  
  •   Lonenso · Aug 21, 2018 · 1652 views
    This topic created in 2997 days ago, the information mentioned may be changed or developed.

    tcp_diag 模块已加载,有老哥遇到过这个问题吗? (因为网上到处都在说 ss 比 netstat 快啊,但是实际用的时候会出现一批机器是相反的例子) (已经阅读 google,manual )

    3 replies  •  2020-05-03 10:42:40 +08:00
    letitbesqzr
    letitbesqzr
    Aug 22, 2018
    1
    这是有多少信息,我感觉这两个命令都是秒出来,感觉不到快慢呢。
    Lonenso
    Lonenso
    OP
    Aug 22, 2018
    2
    @letitbesqzr 的确有的机器是都很快的,且其中 ss 比 netstat 快,但是就是有一批机器 ss 就是比 netstat 慢,网上也没有什么地方提到这件事情。还有就是同一版本内核有 ss 快的,也有 ss 慢的。所以现在很头疼
    qW7bo2FbzbC0
    qW7bo2FbzbC0
    May 3, 2020
    3
    @Lonenso 我也遇到了,不仅如此,很多文章提到 ss 比 netstat 更安全,不知道怎么解释
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5222 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 06:18 · PVG 14:18 · LAX 22:18 · JFK 01:18
    ♥ Do have faith in what you're doing.