Releases: shirou/gopsutil
v4.24.11
What's Changed
host
- add anolis family with anolis platform in host/host_linux.go by @wangyu-geek in #1745
New Contributors
- @wangyu-geek made their first contribution in #1745
Full Changelog: v4.24.10...v4.24.11
v4.24.10
What's Changed
cpu
mem
- fix(mem): possible memory leak on Windows by @uubulb in #1722
- feat(mem): Add windows commit stats by @n4nn31355 in #1720
Other Changes
New Contributors
- @n4nn31355 made their first contribution in #1720
Full Changelog: v4.24.9...v4.24.10
v4.24.9
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
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
- @al-online made their first contribution in #1712
- @joshiste made their first contribution in #1713
- @henrygd made their first contribution in #1715
Full Changelog: v4.24.8...v4.24.9
v4.24.8
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
- Fix badge link in README.md by @Yurunsoft in #1695
- fix golangcilint errors, ignore gosec G115 by @shirou in #1697
- fix: golangci lint with max -> maxConn by @shirou in #1693
New Contributors 🎉
- @zmyzheng made their first contribution in #1688
- @Yurunsoft made their first contribution in #1695
- @pgimalac made their first contribution in #1691
- @TheBestLL made their first contribution in #1692
- @fivitti made their first contribution in #1694
Full Changelog: v4.24.7...v4.24.8
v4.24.7
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
mem
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
What's Changed
host
- Issue 1658: Fix for parsing error where 'day,' is ignored on AIX uptime check by @aidangill-projects in #1659
- Resolved Issue 1661 - AIX Runtime Panic in Host by @aidangill-projects in #1663
sensors
- fix memory leak by @thechampagne in #1656
- fix: package misnaming in
sensors_freebsd.go
by @uubulb in #1668
Other Changes
New Contributors
- @thechampagne made their first contribution in #1656
- @aidangill-projects made their first contribution in #1659
- @govrin made their first contribution in #1655
- @uubulb made their first contribution in #1668
Full Changelog: v4.24.5...v4.24.6
What's Changed
host
- Issue 1658: Fix for parsing error where 'day,' is ignored on AIX uptime check by @aidangill-projects in #1659
- Resolved Issue 1661 - AIX Runtime Panic in Host by @aidangill-projects in #1663
Other Changes
- fix memory leak by @thechampagne in #1656
- Fix boot time not returning stat file value by @govrin in #1655
- fix: package misnaming in
sensors_freebsd.go
by @uubulb in #1668
New Contributors
- @thechampagne made their first contribution in #1656
- @aidangill-projects made their first contribution in #1659
- @govrin made their first contribution in #1655
- @uubulb made their first contribution in #1668
Full Changelog: v4.24.5...v4.24.6
v4.24.5
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 newsensors
package.process.Groups()
now returns uint32. (#1424)process.Uids()
andprocess.Gids()
also now uint32.- The Pid remains int32. This is because changing it is expected to have a significant impact.
mem.VirtualMemoryExStat
is nowExVirtualMemory
withExLinux
andExWindows
. See document aboutEx 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
What's Changed
cpu
process
- Add fallback for lsof output by @MDrakos in #1640
- [process][openbsd]: add cwd on openbsd. by @shirou in #1649
Other Changes
- remove duplicate code in mktypes.sh by @zhanluxianshen in #1646
- add arm/arm64 category for github pr label. by @zhanluxianshen in #1647
New Contributors
- @zhanluxianshen made their first contribution in #1646
- @MDrakos made their first contribution in #1640
- @Dylan-M made their first contribution in #1651
Full Changelog: v3.24.4...v3.24.5
v3.24.4
What's Changed
net
- Update net_openbsd.go to correctly parse netstat output on obsd by @amarinderca in #1621
- chore: fix some typos in comments by @camcui in #1624
New Contributors
- @amarinderca made their first contribution in #1621
- @camcui made their first contribution in #1624
Full Changelog: v3.24.3...v3.24.4
v3.24.3
What's Changed
disk
- chore: fix typo by @majorteach in #1615
host
load
process
New Contributors
- @majorteach made their first contribution in #1615
- @eric1234 made their first contribution in #1612
Full Changelog: v3.24.2...v3.24.3