title: Programmatically disable CPU core
body: <p>It is known the way to disable logical CPUs in Linux, basically with <code>echo 0 &gt; /sys/devices/system/cpu/cpu&lt;number&gt;/online</code>. This way, you are only telling to the OS to ignore that given (<code>&lt;number&gt;</code>) CPU.</p>
  <p>My question goes further, is it possible not only to ignore it but to turn it off physically programmatically? I want that CPU to not receive any power, in order to make its energy consumption zero.</p>
  <p>I know that it is possible disable cores from the BIOS (not always), but I want to know whether is possible to do it within a certain program or not.</p>