sysinfo

package
v0.0.0-...-51c1140 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFeatureUnsupported = errors.New("That feature is not supported on this platform")
	ErrIdentifierNotFound = errors.New("The requested identifier could not be found")
)

Functions

func BootID

func BootID() (string, error)

BootID returns the boot ID of the executing kernel.

func DockerID

func DockerID() (string, error)

func Hostname

func Hostname() (string, error)

Hostname returns the host name reported by the kernel.

func PhysicalMemoryBytes

func PhysicalMemoryBytes() (uint64, error)

PhysicalMemoryBytes the total amount of memory on a system in bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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