package models type CPUStats struct { Cores []CPUCore `json:"cores"` TotalUsage float64 `json:"totalUsage"` LoadAverage LoadAverage `json:"loadAverage"` } type CPUCore struct { ID int `json:"id"` Usage float64 `json:"usage"` Frequency int64 `json:"frequency"` // MHz } type LoadAverage struct { Load1 float64 `json:"load1"` Load5 float64 `json:"load5"` Load15 float64 `json:"load15"` }