GPUNvidia

package
v0.0.0-...-ebbd4fe Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: MIT Imports: 11 Imported by: 1

Documentation

Overview

Collect NVIDIA GPU info via package nvidia-381.

add-apt-repository ppa:graphics-drivers/ppa
apt-get install nvidia-384

Parse `nvidia-384` `nvidia-smi` program output into map.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecCommand

func ExecCommand(cmdString string, timeoutInSeconds int) (out []byte, err error)

func Gets

func Gets(debug bool) (m *[]map[string]interface{}, err error)

func ParseGPURow

func ParseGPURow(line string) (*map[string]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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