#2150·gopsutil

AIX support: which AIX OS versions are supported, and which Go toolchain is used?

Author: abranceCreated Sep 11, 2026Updated Sep 11, 2026

Hi, thanks for the AIX support.

I would like to clarify two points that I could not determine from the README or the source tree.

1. Supported AIX versions

The README lists AIX in the platform tables, but does not state which AIX releases are supported or tested. From the source I can only find indirect hints:

  • host/host_aix.go references the IBM AIX 7.2 documentation for the utmp file;
  • net/net_aix_nocgo.go notes that a given output format has been stable "across AIX 4.3 through 7.3";
  • the test fixtures state they were captured from a real AIX 7.3 system.

Could you confirm:

  • Which AIX versions are officially supported (for example 6.1, 7.1, 7.2, 7.3)?
  • Whether there is a minimum supported AIX version, and whether it differs between the cgo and nocgo implementations?

2. Test coverage for AIX

As far as I can tell, .github/workflows/lint.yml only compiles the AIX target with GOOS=aix GOARCH=ppc64 and CGO_ENABLED=0 (the cgo entry is commented out with a FIXME), and .github/workflows/test.yml has no AIX runner. Is the AIX implementation therefore not exercised on real AIX hardware in CI?

3. Go version used to build for AIX

  • go.mod declares go 1.24.0, while the README still states "go1.18 or above is required". Which is authoritative, and could the README be updated if it is out of date?
  • Is any particular Go version used or recommended when building for AIX?
  • For the cgo path that depends on github.com/power-devops/perfstat, is there a specific gcc / AIX Toolbox version requirement?

I am asking because I need to document the exact supported configuration for a deployment target. Thanks.