package
Version:
v3.15.0+incompatible
Opens a new window with list of versions in this module.
Published: Sep 2, 2021
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
¶
View Source
var (
ErrDockerNotFound = errors.New("Docker ID not found")
)
View Source
var (
ErrFeatureUnsupported = errors.New("That feature is not supported on this platform")
)
BootID returns the boot ID of the executing kernel.
BytesToMebibytes converts bytes into mebibytes.
DockerID attempts to detect Docker.
Hostname returns the host name.
PhysicalMemoryBytes returns the total amount of host memory.
Usage contains process process times.
GetUsage gathers process times.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.