From 2a51c200a4d68df91890a1b98331cba2ac2ebd03 Mon Sep 17 00:00:00 2001 From: Max Altgelt Date: Thu, 29 Jan 2026 13:25:01 +0100 Subject: [PATCH 1/2] chore: more AIX host information --- thorlog/v3/hostinfo.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/thorlog/v3/hostinfo.go b/thorlog/v3/hostinfo.go index a2223e2..b93abf2 100644 --- a/thorlog/v3/hostinfo.go +++ b/thorlog/v3/hostinfo.go @@ -174,10 +174,20 @@ type PlatformInfoAIX struct { // Hardware model Model string `json:"model" textlog:"model"` - // OS version string, e.g. "7.3" + // OS version string, e.g. "7.3". Also found in the output of `oslevel -s` together with TechnologyLevel, ServicePack and BuildSequenceID, e.g. "7300-04-00-2546". Version string `json:"version" textlog:"version"` // Processor type, e.g. "POWER9" Proc string `json:"proc" textlog:"proc"` + // Number of virtual CPUs available to the system. This is not necessarily the same as the number of physical cores, due to SMT and partitioning. + VCPUs int `json:"vcpus" textlog:"vcpus"` + // Build timestamp of the OS. This specifies the precise OS version that is running on the system. + OSBuildTime time.Time `json:"os_build_time" textlog:"os_build_time"` + // Technology levels are major updates of an OS version + TechnologyLevel int `json:"technology_level" textlog:"technology_level"` + // Service packs provide bug fixes within a technology level + ServicePack int `json:"service_pack" textlog:"service_pack"` + // Build sequence identifier is a unique identifier for the exact OS build + BuildSequenceID int `json:"build_sequence_id" textlog:"build_sequence_id"` } func (PlatformInfoAIX) platform() {} From d5e94f512ebc3b48cf51359d46f07dc6df14ef46 Mon Sep 17 00:00:00 2001 From: Max Altgelt Date: Wed, 11 Feb 2026 09:16:21 +0100 Subject: [PATCH 2/2] chore: use latest golangci-lint --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9c69c17..de649c6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -28,6 +28,6 @@ jobs: with: go-version: stable - name: Lint - uses: golangci/golangci-lint-action@v8 + uses: golangci/golangci-lint-action@v9 with: - version: v2.1.6 + version: latest