Skip to content

Releases: elastic/gosigar

v0.3.0

12 Jun 15:11
Compare
Choose a tag to compare

Added

  • Read MemAvailable value for kernel 3.14+ #71

v0.2.0

28 Feb 17:06
Compare
Choose a tag to compare

Added

  • Added ErrCgroupsMissing to indicate that /proc/cgroups is missing which is
    an indicator that cgroups were disabled at compile time. #64

Changed

  • Changed cgroup.SupportedSubsystems() to honor the "enabled" column in the
    /proc/cgroups file. #64

v0.1.0

24 Feb 20:02
Compare
Choose a tag to compare

This is the first tagged release since forking the project. Please review the commit history for a complete list of changes since the fork. Going forward the changelog will include a summary of all changes.

Added

  • Added CpuList implementation for Windows that returns CPU timing information
    on a per CPU basis. #55
  • Added Uptime implementation for Windows. #55
  • Added Swap implementation for Windows based on page file metrics. #55
  • Added support to github.com/gosigar/sys/windows for querying and enabling
    privileges in a process token.
  • Added utility code for interfacing with linux NETLINK_INET_DIAG. #60
  • Added ProcEnv for getting a process's environment variables. #61

Changed

  • Changed several OpenProcess calls on Windows to request the lowest possible
    access privileges. #50
  • Removed cgo usage from Windows code.
  • Added OS version checks to ProcArgs.Get on Windows because the
    Win32_Process WMI query is not available prior to Windows vista. On XP and
    Windows 2003, this method returns ErrNotImplemented. #55

Fixed

  • Fixed value of Mem.ActualFree and Mem.ActualUsed on Windows. #49
  • Fixed ProcTime.StartTime on Windows to report value in milliseconds since
    Unix epoch. #51
  • Fixed ProcStatus.PPID value is wrong on Windows. #55
  • Fixed ProcStatus.Username error on Windows XP #56