sysinfo

package
v0.0.0-...-86a594b Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CpuInfo

type CpuInfo struct {
	Count int
	Name  string
}

func GetCpuInfo

func GetCpuInfo() CpuInfo

type HostInfo

type HostInfo struct {
	Id       string
	Name     string
	Version  string
	Arch     string
	Platform string
	Os       string
	Family   string
}

func GetHostInfo

func GetHostInfo() HostInfo

type Mem

type Mem struct {
	Total size.SizeMeta
	Avi   size.SizeMeta
	Used  size.SizeMeta
}

type MemInfo

type MemInfo struct {
	Virtual Mem
	Swap    Mem
}

func GetMemInfo

func GetMemInfo() MemInfo

Jump to

Keyboard shortcuts

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