monitor

package
v0.0.0-...-7631e6e Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CachedIP, GeoQueryIP, CachedCountryCode string
)
View Source
var (
	Version string
)

Functions

func GetHost

func GetHost() *model.Host

GetHost 获取主机硬件信息

func GetState

func GetState(skipConnectionCount bool, skipProcsCount bool) *model.HostState

func InitConfig

func InitConfig(cfg *model.AgentConfig)

func TrackNetworkSpeed

func TrackNetworkSpeed()

TrackNetworkSpeed NIC监控,统计流量与速度

func UpdateIP

func UpdateIP(useIPv6CountryCode bool, period uint32)

UpdateIP 按设置时间间隔更新IP地址的缓存

Types

This section is empty.

Jump to

Keyboard shortcuts

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