end18 / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

Re-implement get_connections() by using sockstat instead of lsof on FreeBSD #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As proposed here:
https://groups.google.com/forum/?hl=en_US#!topic/psutil/OzZvVJCLuTg
...we can rewrite get_connections() implementation by using sockstat instead 
lsof for performances.

Original issue reported on code.google.com by g.rodola on 23 Dec 2010 at 9:52

GoogleCodeExporter commented 9 years ago
Closing out as it seems sockstat does not include the connection status 
(established, connected, etc...).

Original comment by g.rodola on 23 Dec 2010 at 10:25