package
1.15.0
Repository: https://github.com/elastic/go-sysinfo.git
Documentation: pkg.go.dev

# Variables

ErrNotImplemented represents an error for a function that is not implemented on a particular platform.

# Structs

CapabilityInfo contains capability set info.
CPUTimes contains CPU timing stats for a process.
GoInfo contains info about the go runtime.
HostInfo contains basic host information.
HostMemoryInfo (all values are specified in bytes).
LoadAverageInfo contains load statistics.
MemoryInfo contains memory stats for a process.
Netstat represents the data from /proc/net/netstat.
NetworkCountersInfo represents available network counters from /proc/net.
OSInfo contains basic OS information.
ProcessInfo contains basic stats about a process.
SeccompInfo contains seccomp info for a process.
SNMP represents the data from /proc/net/snmp Note that according to RFC 2012,TCP.MaxConn, if present, is a signed value and should be cast to int64.
UserInfo contains information about the UID and GID values of a process.
VMStatInfo contains parsed info from /proc/vmstat.

# Interfaces

Capabilities is the interface that wraps the Capabilities method.
CPUTimer is the interface that wraps the CPUTime method.
Environment is the interface that wraps the Environment method.
Host is the interface that wraps methods for returning Host stats It may return partial information if the provider implementation is unable to collect all of the necessary data.
LoadAverage is the interface that wraps the LoadAverage method.
NetworkCounters represents network stats from /proc/net.
OpenHandleCounter is the interface that wraps the OpenHandleCount method.
OpenHandleEnumerator is the interface that wraps the OpenHandles method.
Process is the main wrapper for gathering information on a process.
Seccomp is the interface that wraps the Seccomp method.
VMStat is the interface wrapper for platforms that support /proc/vmstat.