We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
从gopsutil那儿发现的这个项目 gopsutil 的做法是
但是/proc/{PID}/net/tcp其实等同于/proc/net/tcp,也就是机器的所有tcp连接信息 如果在一些存在上万连接的机器上,每触发一个进程就需要遍历一次机器的全量连接信息,太消耗资源。
使用了你的项目确实快上不少,但是获取到的依旧是机器的全量连接
The text was updated successfully, but these errors were encountered:
No branches or pull requests
从gopsutil那儿发现的这个项目
gopsutil 的做法是
但是/proc/{PID}/net/tcp其实等同于/proc/net/tcp,也就是机器的所有tcp连接信息
如果在一些存在上万连接的机器上,每触发一个进程就需要遍历一次机器的全量连接信息,太消耗资源。
使用了你的项目确实快上不少,但是获取到的依旧是机器的全量连接
The text was updated successfully, but these errors were encountered: