package linux
import "github.com/elastic/go-sysinfo/providers/linux"
Package linux implements the HostProvider and ProcessProvider interfaces for providing information about Linux.
Index ¶
- func Architecture() (string, error)
- func IsContainerized() (bool, error)
- func KernelVersion() (string, error)
- func MachineID() (string, error)
- func OperatingSystem() (*types.OSInfo, error)
- type SeccompMode
Functions ¶
func Architecture ¶
func IsContainerized ¶
IsContainerized returns true if this process is containerized.
func KernelVersion ¶
func MachineID ¶
func OperatingSystem ¶
Types ¶
type SeccompMode ¶
type SeccompMode uint8
const ( SeccompModeDisabled SeccompMode = iota SeccompModeStrict SeccompModeFilter )
func (SeccompMode) String ¶
func (m SeccompMode) String() string
Source Files ¶
arch_linux.go boottime_linux.go capabilities_linux.go container.go doc.go host_linux.go kernel_linux.go machineid.go memory_linux.go os.go process_linux.go seccomp_linux.go util.go
- Version
- v1.0.0
- Published
- May 3, 2019
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 47 minutes ago –
Tools for package owners.