7 Star 13 Fork 3

Gitee 极速下载/bcc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/iovisor/bcc
克隆/下载
tcpsynbl_example.txt 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/bcc.git
git@gitee.com:mirrors/bcc.git
mirrors
bcc
bcc
master

搜索帮助