title: How to tell if a Linux machine supports AVX/AVX2 instructions?
body: <p>I'm on SUSE Linux Enterprise 10/11 machines. I launch my regressions to a farm of machines running Intel processors. Some of my tests fail because my tools are built using a library which requires AVX/AVX2 instruction support. I get an <code>Illegal exception</code> error. </p>
  
  <p>In Linux, is there any commands I can use to determine what is the CPU code/family name? </p>
  
  <p>I believe AVX and AVX2 are available onward from Intel SandyBridge and Haswell family, respectively.</p>