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

SunOS (5.10) - Invalid network info #1077

Closed
alxchk opened this issue May 17, 2017 · 0 comments
Closed

SunOS (5.10) - Invalid network info #1077

alxchk opened this issue May 17, 2017 · 0 comments

Comments

@alxchk
Copy link
Contributor

alxchk commented May 17, 2017


TCP: IPv4
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q    State
-------------------- -------------------- ----- ------ ----- ------ -----------
127.0.0.1.32832      127.0.0.1.32776      49152      0 49152      0 ESTABLISHED
127.0.0.1.32776      127.0.0.1.32832      49152      0 49196      0 ESTABLISHED
127.0.0.1.32845      127.0.0.1.32828      49152      0 49152      0 ESTABLISHED
127.0.0.1.32828      127.0.0.1.32845      49152      0 49216      0 ESTABLISHED
127.0.0.1.32848      127.0.0.1.32847      49152      0 49152      0 ESTABLISHED
127.0.0.1.32847      127.0.0.1.32848      49152      0 49152      0 ESTABLISHED
192.168.0.102.32886  192.168.0.110.1234   70656      0 49640      0 ESTABLISHED
[GCC 3.4.3 (csl-sol210-3_4-branch+sol_rpath)] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.net_connections()
[]
>>> psutil.net_if_addrs()
{'lo0': [
 snic(family=2, address='1.0.0.0', netmask='12.151.81.254', broadcast=None, ptp=None)
], 'e1000g0': [
snic(family=2, address='176.175.166.254', netmask='0.0.0.0', broadcast='0.0.0.0', ptp=None)]}
>>>
  • psutil.net_if_addrs() - shows garbage
  • psutil.net_connections() - doesn't work
alxchk added a commit to alxchk/psutil that referenced this issue May 18, 2017
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

2 participants