os

package
v0.0.0-...-b6f583f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const Name = "os"

Variables

View Source
var ConfigDefaults = Config{}

Functions

func New

func New(logger log.Logger, _ *Config) types.Collector

func NewWithFlags

func NewWithFlags(_ *kingpin.Application) types.Collector

Types

type Config

type Config struct{}

type Win32_OperatingSystem

type Win32_OperatingSystem struct {
	Caption                 string
	FreePhysicalMemory      uint64
	FreeSpaceInPagingFiles  uint64
	FreeVirtualMemory       uint64
	LocalDateTime           time.Time
	MaxNumberOfProcesses    uint32
	MaxProcessMemorySize    uint64
	NumberOfProcesses       uint32
	NumberOfUsers           uint32
	SizeStoredInPagingFiles uint64
	TotalVirtualMemorySize  uint64
	TotalVisibleMemorySize  uint64
	Version                 string
}

Win32_OperatingSystem docs: - https://msdn.microsoft.com/en-us/library/aa394239 - Win32_OperatingSystem class

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL