Skip to content

Commit 2a51c20

Browse files
committed
chore: more AIX host information
1 parent 6dc4c34 commit 2a51c20

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

thorlog/v3/hostinfo.go

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,20 @@ type PlatformInfoAIX struct {
174174

175175
// Hardware model
176176
Model string `json:"model" textlog:"model"`
177-
// OS version string, e.g. "7.3"
177+
// 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".
178178
Version string `json:"version" textlog:"version"`
179179
// Processor type, e.g. "POWER9"
180180
Proc string `json:"proc" textlog:"proc"`
181+
// 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.
182+
VCPUs int `json:"vcpus" textlog:"vcpus"`
183+
// Build timestamp of the OS. This specifies the precise OS version that is running on the system.
184+
OSBuildTime time.Time `json:"os_build_time" textlog:"os_build_time"`
185+
// Technology levels are major updates of an OS version
186+
TechnologyLevel int `json:"technology_level" textlog:"technology_level"`
187+
// Service packs provide bug fixes within a technology level
188+
ServicePack int `json:"service_pack" textlog:"service_pack"`
189+
// Build sequence identifier is a unique identifier for the exact OS build
190+
BuildSequenceID int `json:"build_sequence_id" textlog:"build_sequence_id"`
181191
}
182192

183193
func (PlatformInfoAIX) platform() {}

0 commit comments

Comments
 (0)