mirror of https://github.com/shirou/gopsutil
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The goal is to improve performance of connection fetching connections across all processes when some processes can have several hundred or thousands of file descriptors. Right now when you have many thousands of fds the process spends lots of time inside the syscalls from Readdir and Readlink. The public API works as before with two new functions: - `ConnectionsMax` - `ConnectionsPidMax` Each function takes an additional int argument that sets the max number of fds read per process. |
8 years ago | |
---|---|---|
.. | ||
net.go | 9 years ago | |
net_darwin.go | 9 years ago | |
net_darwin_test.go | 9 years ago | |
net_fallback.go | 8 years ago | |
net_freebsd.go | 9 years ago | |
net_linux.go | 8 years ago | |
net_linux_test.go | 8 years ago | |
net_openbsd.go | 8 years ago | |
net_test.go | 9 years ago | |
net_unix.go | 9 years ago | |
net_windows.go | 9 years ago |