-
Notifications
You must be signed in to change notification settings - Fork 88
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
FreeBSD Support #126
base: main
Are you sure you want to change the base?
FreeBSD Support #126
Commits on Feb 5, 2019
-
Add HostInfo support for FreeBSD
Initial implementation of HostInfo for FreeBSD platforms.
Configuration menu - View commit details
-
Copy full SHA for 2db0640 - Browse repository at this point
Copy the full SHA 2db0640View commit details
Commits on Feb 10, 2019
-
Use os.SameFile to compare cwds
On some platforms (e.g. FreeBSD) user home directories are symlinks and os.Getcwd will return the symlink path. On FreeBSD CWD for processes that's not the running process will not give the symlink but the resolved path causing the test to fail at this point. Fix is to use the os.SameFile call to resolve both Os.Getcwd and CWD.
Configuration menu - View commit details
-
Copy full SHA for d6b209f - Browse repository at this point
Copy the full SHA d6b209fView commit details -
Add basic support for ProcessInfo on FreeBSD.
Implement Process(), Self() and Processes() to the bare minimum. That is passing all basic tests.
Configuration menu - View commit details
-
Copy full SHA for 08f7b57 - Browse repository at this point
Copy the full SHA 08f7b57View commit details
Commits on Feb 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f8ea094 - Browse repository at this point
Copy the full SHA f8ea094View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d8b0f6 - Browse repository at this point
Copy the full SHA 7d8b0f6View commit details
Commits on Feb 12, 2019
-
- Fix issue on FreeBSD 12. - Minor cosmetic issues.
Configuration menu - View commit details
-
Copy full SHA for 4388e47 - Browse repository at this point
Copy the full SHA 4388e47View commit details -
- Remove cgo build directives from things not needing it. - Add linker flags into .go files.
Configuration menu - View commit details
-
Copy full SHA for 926d715 - Browse repository at this point
Copy the full SHA 926d715View commit details
Commits on Aug 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 37cd519 - Browse repository at this point
Copy the full SHA 37cd519View commit details -
Configuration menu - View commit details
-
Copy full SHA for 042a304 - Browse repository at this point
Copy the full SHA 042a304View commit details
Commits on Aug 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e0d9718 - Browse repository at this point
Copy the full SHA e0d9718View commit details
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 32a9266 - Browse repository at this point
Copy the full SHA 32a9266View commit details -
[git-generate] gofumpt -w --extra $(find . -name '*.go')
Configuration menu - View commit details
-
Copy full SHA for cf4130f - Browse repository at this point
Copy the full SHA cf4130fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68c3cbe - Browse repository at this point
Copy the full SHA 68c3cbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cba121 - Browse repository at this point
Copy the full SHA 3cba121View commit details -
implement type.Host by adding FQDN() and FQDNWithContext()
providers/freebsd/host_freebsd.go:56:9: cannot use newHost() (value of type *host) as types.Host value in return statement: *host does not implement types.Host (missing method FQDN)
Configuration menu - View commit details
-
Copy full SHA for 47ee9c3 - Browse repository at this point
Copy the full SHA 47ee9c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b786ed - Browse repository at this point
Copy the full SHA 1b786edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 984d22f - Browse repository at this point
Copy the full SHA 984d22fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98a3c4f - Browse repository at this point
Copy the full SHA 98a3c4fView commit details
Commits on Apr 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 26ffe87 - Browse repository at this point
Copy the full SHA 26ffe87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 608fba5 - Browse repository at this point
Copy the full SHA 608fba5View commit details
Commits on Apr 10, 2024
-
Replace usages of github.com/pkg/errors and github.com/joeshaw/multierror.
Configuration menu - View commit details
-
Copy full SHA for 056b9f1 - Browse repository at this point
Copy the full SHA 056b9f1View commit details -
Make sure that all code depending on cgo is tagged appropriately. Replace "syscall" with golang.org/x/sys/unix as per the recommendation of the stdlib syscall package for new code. Add a cross-compile sanity check for freebsd/amd64.
Configuration menu - View commit details
-
Copy full SHA for e7fcbe6 - Browse repository at this point
Copy the full SHA e7fcbe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ba0ba6 - Browse repository at this point
Copy the full SHA 1ba0ba6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6870e0a - Browse repository at this point
Copy the full SHA 6870e0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00cb2d3 - Browse repository at this point
Copy the full SHA 00cb2d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 174d0bb - Browse repository at this point
Copy the full SHA 174d0bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2002a73 - Browse repository at this point
Copy the full SHA 2002a73View commit details -
Configuration menu - View commit details
-
Copy full SHA for a15881d - Browse repository at this point
Copy the full SHA a15881dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfbc2e6 - Browse repository at this point
Copy the full SHA bfbc2e6View commit details -
The baseDir was never used so implement this directly within OperativingSystem().
Configuration menu - View commit details
-
Copy full SHA for ff57aec - Browse repository at this point
Copy the full SHA ff57aecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 496d742 - Browse repository at this point
Copy the full SHA 496d742View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f57214 - Browse repository at this point
Copy the full SHA 8f57214View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9753408 - Browse repository at this point
Copy the full SHA 9753408View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff2ef7b - Browse repository at this point
Copy the full SHA ff2ef7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26dfaba - Browse repository at this point
Copy the full SHA 26dfabaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3952336 - Browse repository at this point
Copy the full SHA 3952336View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21e4945 - Browse repository at this point
Copy the full SHA 21e4945View commit details
Commits on Apr 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 56e911a - Browse repository at this point
Copy the full SHA 56e911aView commit details -
Prior to this change the used memory value looked incorrect: { "host.memory": { "total_bytes": 6402035712, "used_bytes": 6402035712, "available_bytes": 162770944, "free_bytes": 0, "virtual_total_bytes": 1073610752, "virtual_used_bytes": 0, "virtual_free_bytes": 1073610752 } }
Configuration menu - View commit details
-
Copy full SHA for 772144c - Browse repository at this point
Copy the full SHA 772144cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ceb2852 - Browse repository at this point
Copy the full SHA ceb2852View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4a0b0d - Browse repository at this point
Copy the full SHA c4a0b0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for eedf803 - Browse repository at this point
Copy the full SHA eedf803View commit details -
improve code locality - combine sysctl sources
Combine all non-cgo sysctl based data sources into one file to improve the code locality.
Configuration menu - View commit details
-
Copy full SHA for 0398d56 - Browse repository at this point
Copy the full SHA 0398d56View commit details -
dead code - remove vmstat.go + related
Remove vmstat.go and vmstat_test.go for now because these were unused. They can be added back later in a separate PR.
Configuration menu - View commit details
-
Copy full SHA for 5b21c93 - Browse repository at this point
Copy the full SHA 5b21c93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5da5e60 - Browse repository at this point
Copy the full SHA 5da5e60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eac8f6 - Browse repository at this point
Copy the full SHA 1eac8f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46fd95b - Browse repository at this point
Copy the full SHA 46fd95bView commit details -
=== RUN TestHost system_test.go:309: error parsing kern.cp_time: strconv.ParseUint: parsing "\xd8\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00Q\x05\x00\x00\x00\x00\x00\x00\xce\x01\x00\x00\x00\x00\x00\x00k": invalid syntax
Configuration menu - View commit details
-
Copy full SHA for 69bf19c - Browse repository at this point
Copy the full SHA 69bf19cView commit details -
initialize process.fs to fix NetworkCounters
system_test.go:265: Error Trace: system_test.go:265 Error: Received unexpected error: open 1620/net/snmp: no such file or directory Test: TestSelf
Configuration menu - View commit details
-
Copy full SHA for 8f0f7aa - Browse repository at this point
Copy the full SHA 8f0f7aaView commit details -
remove NetworkCounters implementation
The implementation was not tested and did not work. I don't think FreeBSD has /proc/<pid>/net/{snmp,netstat} paths.
Configuration menu - View commit details
-
Copy full SHA for 0f176f3 - Browse repository at this point
Copy the full SHA 0f176f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0701447 - Browse repository at this point
Copy the full SHA 0701447View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f81957 - Browse repository at this point
Copy the full SHA 6f81957View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60b935f - Browse repository at this point
Copy the full SHA 60b935fView commit details -
timevalToDuration - use time constants
Based on the timeval definition, I think the conversion to time.Duration was incorrect. https://elixir.bootlin.com/freebsd/v14.0/source/sys/sys/_timeval.h#L47
Configuration menu - View commit details
-
Copy full SHA for 9ffae07 - Browse repository at this point
Copy the full SHA 9ffae07View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3ab680 - Browse repository at this point
Copy the full SHA d3ab680View commit details
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 96ff4d1 - Browse repository at this point
Copy the full SHA 96ff4d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 799d779 - Browse repository at this point
Copy the full SHA 799d779View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c5317e - Browse repository at this point
Copy the full SHA 5c5317eView commit details
Commits on Jun 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 534a478 - Browse repository at this point
Copy the full SHA 534a478View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9fda75 - Browse repository at this point
Copy the full SHA f9fda75View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3d45df - Browse repository at this point
Copy the full SHA d3d45dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for bbb75c4 - Browse repository at this point
Copy the full SHA bbb75c4View commit details
Commits on Jun 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for be7058a - Browse repository at this point
Copy the full SHA be7058aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e82bbf - Browse repository at this point
Copy the full SHA 1e82bbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b119ea8 - Browse repository at this point
Copy the full SHA b119ea8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1449217 - Browse repository at this point
Copy the full SHA 1449217View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1106c15 - Browse repository at this point
Copy the full SHA 1106c15View commit details -
Merge pull request #1 from sarog/FreeBSD
Requested upstream changes
Configuration menu - View commit details
-
Copy full SHA for 57174b1 - Browse repository at this point
Copy the full SHA 57174b1View commit details