numactl

numactl - Control NUMA policy for processes or shared memory.
From the command line, use the following:

numactl --hardware

This will give an output similar to the following:

available: 2 nodes (0-1)
node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 24 25 26 27 28 29 30 31 32 33 34 35
node 0 size: 32671 MB
node 0 free: 29022 MB
node 1 cpus: 12 13 14 15 16 17 18 19 20 21 22 23 36 37 38 39 40 41 42 43 44 45 46 47
node 1 size: 32768 MB
node 1 free: 30264 MB
node distances:
node 0 1
0: 10 21
1: 21 10