当前位置:网站首页>网络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命令行的基本功底,还是没有丢下。
怕忘了,记录一下。
边栏推荐
- 【20220605】文献翻译——虚拟现实中的可视化:一个系统的回顾
- [Yunju entrepreneurial foundation notes] Chapter 7 Entrepreneurial Resource test 7
- MySQL workbench data modeling function
- JS reverse | m3u8 data decryption of a spring and autumn network
- [Maui] add click events for label, image and other controls
- usb peripheral 驱动 - cable connect/disconnect
- QT 播放器之列表[通俗易懂]
- Typora realizes automatic uploading of picture pasting
- 微信模拟地理位置_伪装微信地理位置
- fatal error: execution: 没有那个文件或目录
猜你喜欢
随机推荐
队列操作---
A hole in solder paste
Blue Bridge Cup multi interface switching processing (enumeration plus state machine method)
One year anniversary of bitbear live studio, hero rally order! I invite you to take a group photo!
What are the PHP FPM configuration parameters
系统测试UI测试总结与问题(面试)
華為面試題: 招聘
Self organization is the two-way rush of managers and members
C serialization simple experiment
Teach you to complete the actual battle of image classification hand in hand -- Image Recognition Based on convolutional neural network
Interpretation of hard threshold function [easy to understand]
LeetCode 454. Add four numbers II
[some notes]
BIM and safety in road maintenance-buildSmart Spain
JS reverse | m3u8 data decryption of a spring and autumn network
Eurake分区理解
usb peripheral 驱动 - cable connect/disconnect
Build yocto system offline for i.mx8mmini development board
Switch basic experiment
Zero copy technology of MySQL








![[some notes]](/img/91/7657f90b50f012736579b1585b4ade.jpg)
