linux获取网络端口流量

有时候需要获取网络端口 eth0  eth1 usb0等等的上行下行的流量

这里使用了C结合命令去读取流量,源代码发到github上面

位置:  https://github.com/ChenChangXiong/get_flow

原文地址:https://www.cnblogs.com/ChenChangXiong/p/13666427.html