shirou / gopsutil

psutil for golang
Other
10.56k stars 1.58k forks source link

gopsutil/v3 windows load is not supported #1014

Closed binbin0325 closed 3 years ago

binbin0325 commented 3 years ago

Describe the bug [A clear and concise description of what the bug is.]

To Reproduce

// paste example code reproducing the bug you are reporting

go.mod

github.com/shirou/gopsutil/v3 v3.20.11

windows load not implemented yet

Expected behavior Directly introducing github.com/shirou/gopsutil v3.20.11 windows Load is supported

Environment (please complete the following information):

Additional context [Cross-compiling? Paste the command you are using to cross-compile and the result of the corresponding go env]

Lomanic commented 3 years ago

I don't understand your issue and you weren't bothered enough to fill the template. load.Avg() is implemented on windows on both v2 and v3 (#977 and #998).

binbin0325 commented 3 years ago

I don't understand your issue and you weren't bothered enough to fill the template. load.Avg() is implemented on windows on both v2 and v3 (#977 and #998).

Yes, I've seen support for load.Avg() in v3. Maybe I should ask when the next release will be issued.

Lomanic commented 3 years ago

OK, indeed, gopsutil is released each month so it will be released in v3.20.12 at the end of the month.

binbin0325 commented 3 years ago

OK, indeed, gopsutil is released each month so it will be released in v3.20.12 at the end of the month.

Thank you for answering.