代码拉取完成,页面将自动刷新
Demonstrations of tcpsynbl, the Linux BCC/eBPF version.
This tool shows the TCP SYN backlog size during SYN arrival as a histogram.
This lets you see how close your applications are to hitting the backlog limit
and dropping SYNs (causing performance issues with SYN retransmits). For
example:
# ./tcpsynbl.py
Tracing SYN backlog size. Ctrl-C to end.
^C
backlog_max = 500L
backlog : count distribution
0 -> 1 : 961 |****************************************|
2 -> 3 : 1 | |
This output shows that for the backlog limit of 500, there were 961 SYN
arrival where the backlog was zero or one, and one accept where the backlog was
two or three. This indicates that we are nowhere near this limit.
USAGE:
# ./tcpsynbl -h
usage: tcpsynbl.py [-h] [-4 | -6]
Show TCP SYN backlog.
optional arguments:
-h, --help show this help message and exit
-4, --ipv4 trace IPv4 family only
-6, --ipv6 trace IPv6 family only
examples:
./tcpsynbl # trace syn backlog
./tcpsynbl -4 # trace IPv4 family only
./tcpsynbl -6 # trace IPv6 family only
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。