go-sysinfo

go-sysinfo is a library for collecting system information.

APACHE-2.0 License

Stars
359
Committers
36

Bot releases are hidden (Show)

go-sysinfo - v1.14.2

Published by blakerouse 24 days ago

BUG FIXES:

  • Update github.com/prometheus/procfs to v0.15.1 ([GH-242])
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 about 4 years ago

Added

  • Add AIX support #77
  • Added detection of containerized cgroup in Kubernetes #80
go-sysinfo - 1.3.0

Published by fearful-symmetry almost 5 years ago

Changed

  • Convert NetworkCountersInfo maps to uint64 #75
go-sysinfo - 1.2.1

Published by fearful-symmetry almost 5 years ago

Fixed

  • Create a sidToString function to deal with API changes in various versions of golang.org/x/sys/windows. #74
go-sysinfo - 1.2.0

Published by andrewkroh almost 5 years ago

Added

  • Added detection of systemd cgroups to the IsContainerized check. #71
  • Added networking counters for Linux hosts. #72
go-sysinfo - 1.1.1

Published by mikemadden42 almost 5 years ago

Fixed

  • Fixed an issue determining the Linux distribution for Fedora 30. #69
go-sysinfo - 1.1.0

Published by fearful-symmetry about 5 years ago

Added

  • Add VMStat interface for Linux. #59
go-sysinfo - 1.0.2

Published by adriansr over 5 years ago

Fixed

  • Fixed a leak when calling the CommandLineToArgv function. #51
  • Fixed a crash when calling the CommandLineToArgv function. #58
go-sysinfo - 1.0.1

Published by axw over 5 years ago

Fixed

  • Add support for new prometheus/procfs API. #49
go-sysinfo - 1.0.0

Published by andrewkroh over 5 years ago

Added

  • Add Windows provider implementation. #22
  • Add Windows process provider. #26
  • Add OpenHandleEnumerator and OpenHandleCount and implement these for Windows. #27
  • Add user info to Process. #34
  • Implement Processes for Darwin. #35
  • Add Parent() to Process. #46

Fixed

  • Fix Windows registry handle leak. #33
  • Fix Linux host ID by search for older locations for the machine-id file. #44

Changed

  • Changed the host containerized check to reduce false positives. #42 #43