linux

package
v0.0.0-...-3633c1a Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OSVersion

func OSVersion() (osVersion string, err error)

OSVersion returns version info of operation system. e.g. Linux 4.15.0-45-generic.x86_64

func SetAffinity

func SetAffinity(cpus []int) error

SetAffinity sets cpu affinity.

Types

This section is empty.

Jump to

Keyboard shortcuts

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