Linux运维:行使ss呼吁互换netstat
副问题[/!--empirenews.page--]
上面先容了 netstat 的最最根基的一种用法,其他用法虽然尚有许多,可是先略过不表,假如想行使 ss 呼吁来取代 netstat 的话,我们奈何到达相同的结果呢? ss -atlp 这是我本身探索的一个参数组合,今朝我背诵得还不是很流利,每次还必要看一下文档: State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 127.0.0.53%lo:domain 0.0.0.0:* users:(("systemd-resolve",pid=655,fd=13)) LISTEN 0 128 0.0.0.0:ssh 0.0.0.0:* users:(("sshd",pid=890,fd=5)) LISTEN 0 5 127.0.0.1:ipp 0.0.0.0:* users:(("cupsd",pid=30790,fd=7)) LISTEN 0 128 0.0.0.0:18025 0.0.0.0:* users:(("sshd",pid=890,fd=3)) LISTEN 0 128 [::]:ssh [::]:* users:(("sshd",pid=890,fd=6)) (编辑:湖南网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |