Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 293 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 293 Bytes

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)
}