当前位置:网站首页>How to count the status of network sockets?
How to count the status of network sockets?
2022-07-01 12:41:00 【Tao song remains the same】
lately , To analyze socket Why is it occupied so much , Need to know socket The state of , Wrote a statement , Get it done :
xxxxxx$ netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
CLOSE_WAIT 90
ESTABLISHED 177
Basic command line skills , Still didn't leave .
Afraid to forget , Make a note of .
边栏推荐
- 晓看天色暮看云,美图欣赏
- Chained storage of queues
- [Maui] add click events for label, image and other controls
- 类的初始化与实例化
- ASP.NET Core 6 从入门到企业级实战开发应用技术汇总
- 硬阈值(Hard Thresholding)函数解读[通俗易懂]
- There are risks in trading
- fatal error: execution: 没有那个文件或目录
- 使用nvm管理nodejs(把高版本降级为低版本)
- [datawhale202206] pytorch recommendation system: multi task learning esmm & MMOE
猜你喜欢
基因检测,如何帮助患者对抗疾病?
MySQL workbench data modeling function
Chained storage of queues
leetcode:329. The longest incremental path in the matrix [DFS + cache + no backtracking + elegance]
IOS interview
[Suanli network] technological innovation of Suanli Network -- key technology of operation service
手机便签应用
数论基础及其代码实现
BIM and safety in road maintenance-buildSmart Spain
Common chart usage of Bi tools
随机推荐
leetcode:241. 为运算表达式设计优先级【dfs + eval】
简单斐波那契(递推)
【MAUI】为 Label、Image 等控件添加点击事件
leetcode:329. The longest incremental path in the matrix [DFS + cache + no backtracking + elegance]
[some notes]
There are risks in trading
Digital signal processing -- Design of linear phase (Ⅱ, Ⅳ) FIR filter (2)
ustime写出了bug
Perl 5.10.0 installation package download
codeforces -- 4B. Before an Exam
Scene function of wooden frame
ANSI/UL 94 VTM薄质材料垂直燃烧测试
VS Code 设置单击打开新文件窗口,不覆盖前一个窗口
工具箱之 IKVM.NET 项目新进展
First intention is the most important
leetcode:226. Flip binary tree [DFS flip]
Topic 1004: the story of cows (recursion)
ROS2 Foxy depthai_ros教程
BIM and safety in road maintenance-buildSmart Spain
redis探索之缓存击穿、缓存雪崩、缓存穿透