v4.24.7
版本发布时间: 2024-08-01 09:58:55
shirou/gopsutil最新发布版本:v4.24.8(2024-09-01 13:21:18)
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 https://github.com/shirou/gopsutil/pull/1670
mem
- [windows][mem]: change to use Performance Counter on SwapMemory. by @shirou in https://github.com/shirou/gopsutil/pull/1677
Other Changes
- fix: read temperature sensors darwin arm by @Girbons in https://github.com/shirou/gopsutil/pull/1672
- fix: remove macos11 and add ubuntu-24.04 on GitHub runner list. by @shirou in https://github.com/shirou/gopsutil/pull/1676
New Contributors
- @coderZoe made their first contribution in https://github.com/shirou/gopsutil/pull/1670
Full Changelog: https://github.com/shirou/gopsutil/compare/v4.24.6...v4.24.7