linux--ss

linux--ss

keywords: 占用端口 端口占用

ss is used to dump socket statistics. It allows showing information similar to netstat. It can display more TCP and state information than other tools.

一些选项:

-t, --tcp
       Display TCP sockets.
-u, --udp
       Display UDP sockets.
-n, --numeric
       Do not try to resolve service names.  Show  exact  bandwidth
       values, instead of human-readable.
-l, --listening
       Display only listening sockets (these  are  omitted  by  de‐
       fault).
-p, --processes
       Show process using socket.

最常用的用法:

ss -tunlp

2024/6/24

posted @   rvy  阅读(23)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
点击右上角即可分享
微信分享提示