go-netflow icon indicating copy to clipboard operation
go-netflow copied to clipboard

go netflow, capture process in/out traffic, similar to c Nethogs.

Results 4 go-netflow issues
Sort by recently updated
recently updated
newest added

测试机上python3开了个http.server提供下载测试,这个抓包显示每秒4.6MB: ![image](https://user-images.githubusercontent.com/17995262/181177352-22aa1b7a-7a39-4ec1-8212-44fd32b7573f.png) 但是远远小于实际带宽值: ![image](https://user-images.githubusercontent.com/17995262/181177411-f7104e6c-3a01-42fb-a1a5-eecc370a8272.png) 补充:recentSeconds设置15秒,8核16G虚机,抓包统计程序占用了1.5核左右,偏高。

![image](https://user-images.githubusercontent.com/27684409/172591952-c5cfc811-ecf6-44f5-9036-146d2b005d39.png) 使用的为cmd/main.go

直接截取切片,并且通过函数在别处使用,导致暂时性泄漏 如果是周期性调用且高于gc频率,则为永久性泄漏现象

netflow在测试0-2G的时候测试的很准,但是在超过3个G的时候会比nload检测的小很多,10g只有4G的检测,有哪个参数没调试好吗,还是其他问题