Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一段时间内通过特定端口的流量。例如,通过 3306 端口的流量持续 10 秒。有没有办法找到这些信息?
我看到“/sbin/ifconfig eth0 05”可用于获取有关总字节数的信息,但我正在寻找有关特定端口流量的信息。
提前致谢,
tcpdump -i eth0 -s 1500 port 3306
sudo iftop -P -n -N -m 10M -f 'port 3260'