Skip to main content

os.base

Fields

IDTYPEDESCRIPTION
machinemachine
namestringPretty Hostname on macOS/Linux or device name on Windows
envmap[string]stringENV variable contents
path[]stringPATH variable contents
uptimetimeCurrent uptime
updates[]os.updateList of available OS updates
rebootpendingboolWhether a reboot is pending
hostnamestringHostname for this OS
groupsgroupsUser groups
usersusersUsers