Skip to content

Releases: shirou/gopsutil

v4.24.11

01 Dec 05:21
62a52f9
Compare
Choose a tag to compare

What's Changed

host

  • add anolis family with anolis platform in host/host_linux.go by @wangyu-geek in #1745

New Contributors

Full Changelog: v4.24.10...v4.24.11

v4.24.10

01 Nov 02:08
aa9796d
Compare
Choose a tag to compare

What's Changed

cpu

  • [cpu][disk][netbsd] Generate arm-specific definitions by @Lomanic in #1731

mem

Other Changes

  • sensors: avoid passing nil pointer to CFArrayGetCount by @uubulb in #1727

New Contributors

Full Changelog: v4.24.9...v4.24.10

v4.24.9

01 Oct 04:36
2e10d9f
Compare
Choose a tag to compare

Important Change

Since #1702, the Darwin implementation has been switched from cgo to purego (Great contribution from @uubulb). As a result, cgo has been removed from the Darwin implementation, making cross-compilation easier. We believe this change will not have any impact, but if you encounter any issues, please create an issue.

What's Changed

cpu, mem, sensors, disk, process on darwin

  • feat(cpu, mem, sensors, disk, process)(darwin): cgo-free implementations by @uubulb in #1702

process

  • [process][darwin][freebsd][linux][openbsd] Make process.Children not reliant on pgrep by @Lomanic in #1706
  • implement process:NumFDs for Windows by @al-online in #1712
  • Fix resolution for process create time limited to seconds by @joshiste in #1713

Other Changes

  • fix: remove coverall and godocs.io badge from README by @shirou in #1705
  • [common] add HOST_PROC_MOUNTINFO to EnvMap by @atoulme in #1707
  • Fix error message typo in sensors_linux by @henrygd in #1715

New Contributors

Full Changelog: v4.24.8...v4.24.9

v4.24.8

01 Sep 05:21
74cb403
Compare
Choose a tag to compare

What's Changed

disk

  • fix(IOCountersWithContext): Fix the issue of not using names to fil ter devices in func IOCountersWithContext of the windows implementation by @zmyzheng in #1688
  • [disk][windows]: ignore network drive when not ready by @shirou in #1699

process

  • Fix parsing of /proc/pid/smaps when path is empty by @pgimalac in #1691
  • Refactoring the algorithm for calculating CPU usage by @TheBestLL in #1692
  • Fix panic on OpenBSD and FreeBSD systems if KinfoProc size has an unexpected size by @fivitti in #1694

Other Changes

New Contributors 🎉

Full Changelog: v4.24.7...v4.24.8

v4.24.7

01 Aug 01:58
1915e93
Compare
Choose a tag to compare

Important Notice Regarding Value Changes on mem.SwapMemory() on Windows

In change #1677, the values returned by mem.SwapMemory() on Windows have been significantly revised. Previously, these values were calculated from the PERFORMANCE_INFORMATION structure of the GetPerformanceInfo win32 function, but this calculation was incorrect. Consequently, it has been adjusted to align with the psutil implementation. As a result, the values returned by mem.SwapMemory() are expected to differ greatly from previous values.

What's Changed

docker

  • fix: docker_memory in centos_7.5 & docker_1.13.1 by @coderZoe in #1670

mem

  • [windows][mem]: change to use Performance Counter on SwapMemory. by @shirou in #1677

Other Changes

  • fix: read temperature sensors darwin arm by @Girbons in #1672
  • fix: remove macos11 and add ubuntu-24.04 on GitHub runner list. by @shirou in #1676

New Contributors

Full Changelog: v4.24.6...v4.24.7

v4.24.6

01 Jul 05:52
865b8c3
Compare
Choose a tag to compare

What's Changed

host

sensors

Other Changes

  • Fix boot time not returning stat file value by @govrin in #1655

New Contributors

Full Changelog: v4.24.5...v4.24.6

What's Changed

host

Other Changes

New Contributors

Full Changelog: v4.24.5...v4.24.6

v4.24.5

01 Jun 03:46
3489a34
Compare
Choose a tag to compare

What's Changed

gopsutil v4 is released as v4.24.5. v3 will not be updated except for high level security issues.

Breaking Changes

  • host/SensorsTemperatures() moved to in the new sensors package.
  • process.Groups() now returns uint32. (#1424)
  • process.Uids() and process.Gids() also now uint32.
    • The Pid remains int32. This is because changing it is expected to have a significant impact.
  • mem.VirtualMemoryExStat is now ExVirtualMemory with ExLinux and ExWindows. See document about Ex structs.

Other

  • Add SPDX license header line.
  • Remove coveralls.io
  • Remove old go build tag such as // +build

Full Changelog: v3.24.5...v4.24.5

v3.24.5

01 Jun 03:42
4336530
Compare
Choose a tag to compare

What's Changed

cpu

process

Other Changes

New Contributors

Full Changelog: v3.24.4...v3.24.5

v3.24.4

01 May 03:55
428fe9b
Compare
Choose a tag to compare

What's Changed

net

New Contributors

Full Changelog: v3.24.3...v3.24.4

v3.24.3

01 Apr 01:44
e230f52
Compare
Choose a tag to compare

What's Changed

disk

host

  • [host][linux]: fix utmp size on linux/arm64 by @shirou in #1603

load

process

  • [process][freebsd]: re-generate types on freebsd arm64 by @shirou in #1609

New Contributors

Full Changelog: v3.24.2...v3.24.3