I noticed today that a process "ondemand" was running on my Ubuntu Server that I recently upgraded (following the recommended process) from 9.10 to 10.04. Why on earth would they install this by default on a server, and how do I turn it off?
and repeat for every core/CPU you have.
You can verify the result with
To make the change permanent: add the following line (or lines - for several cores/CPUs)
to /etc/sysfs.conf (or edit an already existing line).
You may also have a look at this post.