翻译进度
1
分块数量
0
参与人数
这是一篇协同翻译的文章,你可以点击『我来翻译』按钮来参与翻译。
The ss command is a replacement for netstat command. This command gives more information in comparison to the netstat. It is also faster than netstat as it gets all information from kernel userspace.
Syntax:
ss
Look at the above snapshot, ss command displays all TCP, UDP and socket connections.
Listing listening and connected ports of TCP, UDP and Unix
If you want to list connected as well as listening ports for TCP, UDP and Unix use -t, -u and -x respectively with a command.
ss -ta
ss -ua
ss -xa
Listing listening Ports of TCP, UDP and Unix
If you want to list listening ports for TCP, UDP and Unix use -t, -u and -x respectively with l command.
Syntax:
ss -lt
ss -lu
ss -lx
本文中的所有译文仅用于学习和交流目的,转载请务必注明文章译者、出处、和本文链接
我们的翻译工作遵照 CC 协议,如果我们的工作有侵犯到您的权益,请及时联系我们。
推荐文章: