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 procnet.go util.go vmstat.go

Version
v1.6.0
Published
Feb 10, 2021
Platform
js/wasm
Imports
12 packages
Last checked
4 hours ago

Tools for package owners.