We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0546f09 commit 4f0d453Copy full SHA for 4f0d453
README.md
@@ -141,6 +141,32 @@ The stack of busy(26.1%) thread(24018/0x5dd2) of java process(23269) of user(adm
141
142
[silentforce](https://github.com/silentforce)改进此脚本,增加对环境变量`JAVA_HOME`的判断。
143
144
+tcp-connection-state-counter.sh
145
+==========================
146
+
147
+统计各个`TCP`连接状态的个数。
148
149
+像`Nginx`、`Apache`的机器上需要查看,`TCP`连接的个数,以判定
150
151
+- 连接数、负荷
152
+- 是否有攻击,查看`SYN_RECV`数(`SYN`攻击)
153
+- `TIME_WAIT`数,太多会导致`TCP: time wait bucket table overflow`。
154
155
+### 用法
156
157
+```bash
158
159
+```
160
161
+### 示例
162
163
164
+$ tcp-connection-state-counter.sh
165
+ESTABLISHED 290
166
+TIME_WAIT 212
167
+SYN_SENT 17
168
169
170
parseOpts.sh
171
==========================
172
0 commit comments