oneumyvakin / numa

Get basic NUMA nodes infromation from Linux system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NUMA

NUMA is a library to get basic NUMA nodes information from Linux system.

package main

import (
	"fmt"
	"os"
	
	"github.com/oneumyvakin/numa"
)

func main() {
	nodes, err := numa.GetNodes()

	if err != nil {
		fmt.Println(err)
		os.Exit(1)
	}

	fmt.Printf("%#v\n", nodes)
}

About

Get basic NUMA nodes infromation from Linux system

License:Apache License 2.0


Languages

Language:Go 100.0%