gpt4 book ai didi

linux - 如何知道 linux 中特定端口的流量

转载 作者:IT王子 更新时间:2023-10-29 00:39:29 25 4
gpt4 key购买 nike

我想查找某个时间范围内通过特定端口的流量。比如通过3306端口流量10秒。有没有办法找到这些信息?

我看到“/sbin/ifconfig eth0 05”可用于获取有关总字节数的信息,但我正在寻找有关特定端口流量的信息。

提前致谢

最佳答案

tcpdump -i eth0 -s 1500 port 3306

关于linux - 如何知道 linux 中特定端口的流量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10536386/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com