Files
tldr/pages.zh/linux/tcpick.md

17 lines
507 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# tcpick
> 数据包嗅探和网络流量分析工具。
> 它可以捕获并显示TCP连接和数据。它还可以监控特定接口、主机或端口上的网络流量。
> 更多信息:<https://manned.org/tcpick.8>。
- 在特定的[i]nterface、端口和主机上捕获流量
`sudo tcpick -i {{interface}} -C -h {{host}} -p {{port}}`
- 在特定主机的80端口HTTP上捕获流量
`sudo tcpick -i {{eth0}} -C -h {{192.168.1.100}} -p {{80}}`
- 显示帮助信息:
`tcpick --help`