Skip to content
New issue

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

Process.get_connections() add UNIX socket support #216

Closed
giampaolo opened this issue May 23, 2014 · 5 comments
Closed

Process.get_connections() add UNIX socket support #216

giampaolo opened this issue May 23, 2014 · 5 comments

Comments

@giampaolo
Copy link
Owner

From g.rodola on October 04, 2011 12:28:21

On all UNIX systems Process.get_connections() should also return information 
about UNIX sockets opened by process.
Example:

>>> p.get_connections()
[connection(fd=115, family=1, type=1, local_address=('/foo/bar/conn.sock', 
None), remote_address=(), status='')

As an extra note, get_connections() might grow an extra argument of some sort 
(a list) to filter results for socket family types (AF_INET, AF_INET6, AF_UNIX).

Original issue: http://code.google.com/p/psutil/issues/detail?id=216

@giampaolo giampaolo self-assigned this May 23, 2014
@giampaolo
Copy link
Owner Author

From g.rodola on November 09, 2011 11:36:35

Linux patch with partial tests in attachment.

Attachment: linux-unix-socks.patch

@giampaolo
Copy link
Owner Author

From g.rodola on April 16, 2012 19:05:05

Updated Linux patch.

Attachment: linux-unix-socks.patch

@giampaolo
Copy link
Owner Author

From g.rodola on July 07, 2012 11:37:50

Committed in r1416 , r1417 , r1418 .

Status: FixedInSVN
Labels: Milestone-1.0.0

@giampaolo
Copy link
Owner Author

From g.rodola on August 13, 2012 09:25:12

Fixed in version 0.6.0, released just now.

Status: Fixed
Labels: -Milestone-1.0.0 Milestone-0.6.0

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 04:04:10

Updated csets after the SVN -> Mercurial migration: r1416 == revision 
d53078961baa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant