Releases · shirou/gopsutil

v4.26.1

01 Feb 09:06

Immutable release. Only release title and notes can be modified.

What's Changed

disk

  • [darwin]: convert CFString to Go string properly by @uubulb in #1992

host

  • [host][darwin]: fix utmpx database parsing by @uubulb in #1990
  • feat: Add AIX platform support to common package with uptime and boot time functions by @Dylan-M in #1979

mem

  • feat(mem): add KernelStack field for ExVirtualMemory on linux by @shirou in #1986

process

  • Fix windows open files with context by @ebriney in #1991
  • Return an error on reading empty proc pid stat file by @pgimalac in #1995
  • [process][posix]: fix getTerminalMap path construction bug by @shirou in #1994

sensor

New Contributors

Full Changelog: v4.25.12...v4.26.1

v4.25.12

v4.25.11

02 Dec 03:08

Immutable release. Only release title and notes can be modified.

v4.25.10

01 Nov 05:38

Immutable release. Only release title and notes can be modified.

v4.25.9

v4.25.8

Important Change

Starting from this release, VirtualMemoryStat.Used on Linux is now calculated based on MemAvailable in meminfo. This may cause a difference of approximately 6–10% compared to the previous calculation.

To address this, we have introduced an opt-out mechanism. You can disable the new calculation by setting the context key WillBeDeletedOptOutMemAvailableCalc to true. Please note that this option is undocumented and will be removed in six months (Feb. 2026).

For more details, see #1873 and #1882.

What's Changed

cpu

disk

  • [disk][process][freebsd]: remove binary.go from common by @shirou in #1907

mem

  • [mem][linux]: Used calculated from Total and Available by @shirou in #1882

process

Other Changes

  • chore: enable fatcontext linter by @mmorel-35 in #1885
  • chore: enable time-date and time-equal rules from revive by @mmorel-35 in #1891
  • Fix: use compatible perfstat version to fix aix cgo builds by @gremat in #1910

New Contributors

Full Changelog: v4.25.7...v4.25.8

v4.25.7

v4.25.6

v4.25.5

v4.25.4