title: how can I simulate cpu and memory stress in python
body: <p>I would like to know if anyone wrote a code in python that simulates a cpu and memory stress.
  I saw a code loading the cpus, but how can I force them to work on 90% usage?</p>