title: Deceive the JVM about the number of available cores (on linux)
body: <p>In some purpose it is needed to make <code>JVM</code> think about it runs on machine with <code>N</code>cores on board instead of real number of cores (e.g. <code>4</code> cores instead of <code>16</code>).</p>
  
  <p><code>JVM</code> runs under some Linux build, based on Mandriva/Red Hat Linux core.</p>
  
  <p>This question is borderline case because I expect various solutions of this problem. This is not pure linux-administration question, and it isn't pure programmer's question.</p>
  
  <p>So... any ideas?</p>