github shirou/gopsutil v4.26.4

6 hours ago

What's Changed

cpu

  • [cpu][windows]: fix percpu stats on Windows hosts with multiple processor groups by @shirou in #2081

disk

  • Fix infinite loop when failed to find path for volume on Windows by @woct0rdho in #2066

host

  • host: add testInvoker dependency injection for AIX by @Dylan-M in #2040
  • Use getconf instead of bootinfo on AIX to get kernel architecture by @pgimalac in #2079

load

  • load: fix MiscWithContext process state parsing on AIX nocgo by @Dylan-M in #2037

mem

net

  • net: populate BytesSent/BytesRecv via entstat on AIX nocgo by @Dylan-M in #2034
  • fix: add bounds check for /proc/net/dev fields to prevent panic by @Yanhu007 in #2075
  • net: add parseEntstat and parseNetstatI unit tests with AIX fixtures by @Dylan-M in #2073
  • Implement net ProtoCounters for AIX by @pgimalac in #2083

process

  • fix: add bounds check for /proc/[pid]/stat fields in fillFromTIDStat by @Yanhu007 in #2076
  • [process][linux]: use TrimSuffix instead of Trim by @shirou in #2068

New Contributors

Full Changelog: v4.26.3...v4.26.4

Don't miss a new gopsutil release

NewReleases is sending notifications on new releases.