go-sysinfo

go-sysinfo is a library for collecting system information.

APACHE-2.0 License

Stars
361
Committers
36

Bot releases are visible (Hide)

go-sysinfo - v1.14.2

Published by blakerouse 27 days ago

BUG FIXES:

  • Update github.com/prometheus/procfs to v0.15.1 ([GH-242])
go-sysinfo - v1.14.1 Latest Release

Published by github-actions[bot] 3 months ago

BREAKING CHANGES:

  • Host.FQDNWithContext() and the deprecated Host.FQDN() now return the FQDN as is; it isn't lowercased anymore. This also affects types.HostInfo#Hostname which, when it's the FQDN, won't be lowercased. ([GH-231])

IMPROVEMENTS:

  • Replace usages of the deprecated io/ioutil package. ([GH-220])
  • The sysinfo APIs (e.g. Host(), Process()) now accept an optional argument to force reading from an alternative filesystem root. This can be useful inside of containers to read data from the Linux host. ([GH-226])

BUG FIXES:

  • linux: Remove newline from HostInfo.NativeArchitecture value. ([GH-223])
go-sysinfo - v1.14.0

Published by github-actions[bot] 7 months ago

IMPROVEMENTS:

  • Refactor the Linux FQDN test cases to remove the dependency on github.com/docker/docker. ([GH-215])
  • Replace usages of github.com/joeshaw/multierror with the stdlib errors.Join(). This may affect the rendering of some error messages. ([GH-217])
  • build: Require Go 1.21 for the module. ([GH-214])
  • docs: Add policy of supporting the two most recent Go releases. ([GH-214])
go-sysinfo - v1.13.1

Published by github-actions[bot] 8 months ago

IMPROVEMENTS:

  • HostInfo.NativeArchitecture is not available on Windows system prior Windows 10 version 1709. ([GH-201])
go-sysinfo - v1.13.0

Published by github-actions[bot] 8 months ago

IMPROVEMENTS:

  • Adds NativeArchitecture to HostInfo to allow applications to detect whether they are running in emulation. ([GH-200])
go-sysinfo - v1.12.0

Published by github-actions[bot] 9 months ago

IMPROVEMENTS:

  • Allow FQDN lookup functions to take a context. ([GH-199])
go-sysinfo - v1.11.2

Published by github-actions[bot] 11 months ago

IMPROVEMENTS:

  • darwin: Remove duplicate -lproc linker flag to avoid a warning on macOS Sonoma. ([GH-195])
go-sysinfo - v1.11.1

Published by github-actions[bot] about 1 year ago

IMPROVEMENTS:

  • aix: Added mappings for AIX host memory information ([GH-188])
  • linux: Optimize linux key value parsing (ie: /proc files) ([GH-186])

BUG FIXES:

  • aix: Added missing method FQDN for types.Host implementation. ([GH-185])
go-sysinfo - v1.11.0

Published by github-actions[bot] over 1 year ago

IMPROVEMENTS:

  • Lowercase the returned OS.Hostname and FQDN values as per Elastic
    Common Schema (ECS) guidelines for the host.name field. ([GH-180])
  • linux: Added an os.Family mapping for Arch Linux based distributions. ([GH-183])
  • linux: Update the Linux capability name mapping to add names for the
    perfmon, bpf, and checkpoint_restore capabilities. ([GH-184])

BUG FIXES:

  • linux: Fix OS metadata collection for Manjaro Linux. ([GH-183])
go-sysinfo - v1.10.2

Published by github-actions[bot] over 1 year ago

BUG FIXES:

  • darwin: Prevent possible runtime panic while reading process arguments. ([GH-172])
  • windows: On versions earlier than 10/2016, the os.major version was getting overwritten with
    what would have been the minor version, and the os.minor version was not being set. ([GH-175])
go-sysinfo - v1.10.1

Published by ycombinator over 1 year ago

Added

  • Bump github.com/docker/docker from 20.10.24+incompatible to 23.0.3+incompatible #163
go-sysinfo - v1.10.0

Published by ycombinator over 1 year ago

Added

  • Add OS family mappings for opensuse-leap and opensuse-tumbleweed. #146
  • Add FQDN to host info. #144
  • Return FQDN and error via FQDN() method on Host interface. #159
  • Bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 #153
  • Bump github.com/docker/docker from 20.10.22+incompatible to 20.10.24+incompatible #160

Changed

  • Requires Go 1.18+ #144

Fixed

  • On darwin without CGO process.Info() could fail, but would not return the error. #150
go-sysinfo - 1.9.0

Published by andrewkroh almost 2 years ago

Added

  • Replace pkg/errors with Go 1.13 native errors. #123
  • Add OS family mappings for rocky, openEuler, and almalinux. #143

Changed

  • Remove custom sysctl implementation and partial cgo requirement. #135
  • Changes on the Host and LoadAverage interfaces, now implemented by default on Linux and Darwin platforms. #140
go-sysinfo - 1.8.1

Published by andrewkroh over 2 years ago

Fixed

  • Report OS name as Windows 11 when version is >= 10.0.22000. #118 #121
go-sysinfo - 1.8.0

Published by andrewkroh over 2 years ago

Added

  • Added the Oracle Linux ("ol") platform to the "redhat" OS family. #54 #115
  • Added the Linux Mint ("linuxmint") platform to the "debian" OS family. #52

Changed

  • Updated module to require Go 1.17. #111
  • The boot time value for Windows is now rounded to the nearest second to provide a more stable value. #53 #114

Fixed

  • Fix handling of environment variables without values on macOS. #94
  • Fix build tags on AIX provider such that CGO is required. #106
go-sysinfo - 1.7.1

Published by andrewkroh about 3 years ago

Fixed

  • Fixed getting OS info when an unsupported file or directory is found matching /etc/*-release #102
go-sysinfo - 1.7.0

Published by fearful-symmetry over 3 years ago

[1.7.0] - 2021-02-22

Added

  • Add per-process network stats #96
go-sysinfo - 1.6.0

Published by fearful-symmetry over 3 years ago

Added

  • Add darwin/arm64 support (Apple M1). #91
go-sysinfo - 1.5.0

Published by adriansr almost 4 years ago

Added

  • Added os.type field to host info. #87
go-sysinfo - 1.4.0

Published by andrewkroh over 4 years ago

Added

  • Add AIX support #77
  • Added detection of containerized cgroup in Kubernetes #80