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

Add support for OpenBSD/amd64 #283

Merged
merged 1 commit into from
Nov 24, 2016
Merged

Add support for OpenBSD/amd64 #283

merged 1 commit into from
Nov 24, 2016

Conversation

mpfz0r
Copy link
Contributor

@mpfz0r mpfz0r commented Nov 21, 2016

This code is based on the FreeBSD version
and implements roughly the same feature set.

@shirou
Copy link
Owner

shirou commented Nov 22, 2016

Thank you! I will create OpenBSD environment and check this great PR. Please be patient for a few days.

@shirou
Copy link
Owner

shirou commented Nov 24, 2016

Could you add build tag !openbsd to *_fallback.go under every sub packages ?

Copy link
Owner

@shirou shirou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add Procs to host.InfoStat same as FreeBSD?

"unsafe"

"github.com/shirou/gopsutil/internal/common"
)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add process like freebsd?

ret.VirtualizationSystem = system
ret.VirtualizationRole = role
}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add procs like freebsd?

@shirou
Copy link
Owner

shirou commented Nov 24, 2016

Thank you for your very cool contribution. It works on my OpenBSD 6.0 environment. I write some comments, and if you fix these, I will merge very soon!.

This code is based on the FreeBSD version
and implements roughly the same feature set.
@mpfz0r
Copy link
Contributor Author

mpfz0r commented Nov 24, 2016

Oh, I actually had done these changes, but I pushed from the wrong repository.
Anyway, I've updated the commit.
Cheers.

@shirou shirou merged commit 136f6ca into shirou:master Nov 24, 2016
@shirou
Copy link
Owner

shirou commented Nov 24, 2016

Thank you so much !!

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

Successfully merging this pull request may close these issues.

2 participants