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

Windows net package #534

Closed
pytimer opened this issue Jun 12, 2018 · 2 comments
Closed

Windows net package #534

pytimer opened this issue Jun 12, 2018 · 2 comments

Comments

@pytimer
Copy link
Contributor

pytimer commented Jun 12, 2018

Hi,

i use gopsutil to collect Windows and Linux machine some performance data, but net is not implemented on the Windows.

I write a tool win-netstat to implement this feature previously. Now i want to only use gopsutil in my project. So i want to implement net package.

I see some code in the net/net_windows.go, if i implement it, is it use proc like below?

procGetExtendedTCPTable = modiphlpapi.NewProc("GetExtendedTcpTable")
procGetExtendedUDPTable = modiphlpapi.NewProc("GetExtendedUdpTable")

I was wondering if any work has been started?

@shirou
Copy link
Owner

shirou commented Jun 12, 2018

Thank you! I think no one is working on it. I am very appreciate if you would send a PR !

@Lomanic
Copy link
Collaborator

Lomanic commented Sep 1, 2018

Implemented in #549

@Lomanic Lomanic closed this as completed Sep 1, 2018
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

3 participants