当前位置:网站首页>网络socket的状态要怎么统计?
网络socket的状态要怎么统计?
2022-07-01 12:33:00 【涛歌依旧】
最近,要分析socket为什么被占用那么多,需要知道socket的状态,写了一个语句,搞定:
xxxxxx$ netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
CLOSE_WAIT 90
ESTABLISHED 177命令行的基本功底,还是没有丢下。
怕忘了,记录一下。
边栏推荐
- ANSI/UL 94 VTM薄质材料垂直燃烧测试
- Chapter 14 signals (IV) - examples of multi process tasks
- Ansible相关内容梳理
- Ansible的playbook
- Ipv6-6to4 experiment
- Using burpsuite to capture app packages
- GID:旷视提出全方位的检测模型知识蒸馏 | CVPR 2021
- Typora adds watermarks to automatically uploaded pictures
- List of QT players [easy to understand]
- 华为面试题: 招聘
猜你喜欢

BIM and safety in road maintenance-buildSmart Spain

VS Code 设置单击打开新文件窗口,不覆盖前一个窗口

循环链表--

Sort out relevant contents of ansible

双链表有关操作

Circular linked list--

Four years after graduation: work, resign, get married, buy a house

Machine learning - Data Science Library Day 3 - Notes

【20211129】Jupyter Notebook远程服务器配置
![[Yunju entrepreneurial foundation notes] Chapter 7 Entrepreneurial Resource test 6](/img/0e/0900e386f3baeaa506cc2c1696e22a.jpg)
[Yunju entrepreneurial foundation notes] Chapter 7 Entrepreneurial Resource test 6
随机推荐
[Yunju entrepreneurial foundation notes] Chapter 7 Entrepreneurial Resource test 5
【20211129】Jupyter Notebook遠程服務器配置
Message queue monitoring refund task batch process
A hole in solder paste
What are the PHP FPM configuration parameters
STM32 project practice (1) introduction and use of photosensitive resistor
Need your own cognition
VS Code 设置代码自动保存
Like the three foot platform
微信模拟地理位置_伪装微信地理位置
Build yocto system offline for i.mx8mmini development board
[speech signal processing] 3 speech signal visualization -- prosody
使用BurpSuite对app抓包教程
硬阈值(Hard Thresholding)函数解读[通俗易懂]
Chained storage of queues
Blue Bridge Cup multi interface switching processing (enumeration plus state machine method)
【datawhale202206】pyTorch推荐系统:多任务学习 ESMM&MMOE
手把手教你完成图像分类实战——基于卷积神经网络的图像识别
How to install php7 and perform performance test using yum
Wechat applet reports an error: [rendering layer network layer error] pages/main/main Local resource pictures in wxss cannot be obtained through wxss. You can use network pictures, Base64, or < image/