tool

package
v0.0.0-...-91c7ab2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCpuInfo

func GetCpuInfo() model.CpuInfo

func GetCpuUsed

func GetCpuUsed() model.UP

GetCpuUsed cpu负载,百分比

func GetDiskInfo

func GetDiskInfo() model.DiskInfo

func GetDiskUsed

func GetDiskUsed() model.UP

func GetLinkEnable

func GetLinkEnable(name string) model.LinkEnable

GetLinkEnable 获取网卡的使能状态

func GetLinkInfo

func GetLinkInfo() []model.LinkInfo

func GetMainBoardTemp

func GetMainBoardTemp() model.UCD

GetMainBoardTemp 获取主板温度

func GetMemInfo

func GetMemInfo() model.MemInfo

func GetMemUsed

func GetMemUsed() model.UP

GetMemUsed 获取内存使用情况,

func GetOsInfo

func GetOsInfo() model.OsInfo

func GetSystemLastStartTime

func GetSystemLastStartTime() time.Time

GetSystemLastStartTime 系统最近一次启动时间

func GetSystemRunTime

func GetSystemRunTime() time.Duration

GetSystemRunTime 设备运行时长

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL