darwin

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPU64Bit

func CPU64Bit() bool

func CPUType

func CPUType() uint64

Returns CPU from sysctl

func LoadAverage

func LoadAverage() (float64, float64, float64)

LoadAverage returns load averages (1,5 and 15 minute averages)

func Product

func Product() string

Product returns the name of the hardware

func SerialNumber

func SerialNumber() string

SerialNumber returns the serial number of the hardware, if available

func Uptime

func Uptime() time.Duration

Uptime returns the duration the machine has been switched on for

Types

This section is empty.

Jump to

Keyboard shortcuts

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