Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

implements freebsd,amd64 #1

Merged
merged 1 commit into from
Jul 10, 2015
Merged

implements freebsd,amd64 #1

merged 1 commit into from
Jul 10, 2015

Conversation

shirou
Copy link
Contributor

@shirou shirou commented Apr 21, 2014

Implemented freebsd,amd64 by using syscall.RawSyscall6 which means no need cgo.
Tested on FreeBSD 8.4. I think it could work on newer version.

Since I converted the kinfo_proc in sys/user.h to golang struct, it is easy to get other process information.

@shirou
Copy link
Contributor Author

shirou commented Apr 23, 2014

FYI:
I have started porting python psutil(http://pythonhosted.org/psutil/) to golang.

https://github.com/shirou/gopsutil

Now it can get other information such as Disk_partitions on freebsd, linux and windows. see Current status in README. Please note this not need cgo.

Since this is very early stage, often become broken and API is not stable, but I appreciate if you try this.

Thank you.

@mitchellh
Copy link
Owner

LGTM. Thanks!

mitchellh added a commit that referenced this pull request Jul 10, 2015
implements freebsd,amd64
@mitchellh mitchellh merged commit e6c6068 into mitchellh:master Jul 10, 2015
daftaupe pushed a commit to daftaupe/go-ps that referenced this pull request Jan 5, 2018
mitchellh pushed a commit that referenced this pull request Feb 3, 2020
Update process fetcher to support SELinux-enabled systems.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants