metal

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActiveAddress

func ActiveAddress() (mac string, ip string)

ActiveAddress : 有効なInterfaceのMACアドレスとIPアドレスを取得する

func GPUInfo

func GPUInfo() ([]gpustat.GPUStat, error)

GPUInfo : GPUの情報を取得します

func ServerInfo

func ServerInfo() (ip, mac, hostname string, err error)

ServerInfo : サーバの情報を取得します

func SysInfo

func SysInfo() (sys *syscall.Sysinfo_t, cpus []cpu.InfoStat, err error)

SysInfo : sysinfoとCPUの情報を取得します

Types

This section is empty.

Directories

Path Synopsis
gpu

Jump to

Keyboard shortcuts

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