package linux

import "github.com/elastic/go-sysinfo/providers/linux"

Package linux implements the HostProvider and ProcessProvider interfaces for providing information about Linux.

Index

Functions

func IsContainerized

func IsContainerized() (bool, error)

IsContainerized returns true if this process is containerized.

func MachineID

func MachineID() (string, error)

func OperatingSystem

func OperatingSystem() (*types.OSInfo, error)

Source Files

container.go doc.go machineid.go os.go util.go

Version
v1.0.1
Published
May 8, 2019
Platform
windows/amd64
Imports
10 packages
Last checked
1 hour ago

Tools for package owners.