tidb: github.com/pingcap/tidb/util/sys/linux Index | Files

package linux

import "github.com/pingcap/tidb/util/sys/linux"

Index

Package Files

sys_linux.go

func OSVersion Uses

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 Uses

func SetAffinity(cpus []int) error

SetAffinity sets cpu affinity.

Package linux imports 2 packages (graph) and is imported by 4 packages. Updated 2019-08-04. Refresh now. Tools for package owners.