hardware

package
v0.12.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const CPUSET_PATH = "/sys/fs/cgroup/cpuset/cpuset.cpus"

Variables

This section is empty.

Functions

func ParseCPUSetLine

func ParseCPUSetLine(cpusetLine string) (cpusList []int, err error)

Parse linux cpuset into an array of ints See: http://man7.org/linux/man-pages/man7/cpuset.7.html#FORMATS

Types

This section is empty.

Jump to

Keyboard shortcuts

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