package
Version:
v0.6.4
Opens a new window with list of versions in this module.
Published: Jan 25, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package lmsensors is a Go library reading lm-sensors data.
info, err := New().Get()
if err != nil {
fmt.Printf("ERROR: %s", err)
}
fmt.Printf("GetCoreTempInfo: %+v", info)
Output:
type ProcCPUInfo struct {
VendorId string `json:"vendor_id"`
CPUName string `json:"cpu_name"`
CoreId string `json:"core_id"`
FrequencyMhz float64 `json:"frequency"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.