How to get the smp_affinity