Installation:
root# cd /usr/src
root# wget 'http://downloads.sourceforge.net/cpulimit/cpulimit-1.1.tar.gz'
root# tar -zxvf cpulimit-1.1.tar.gz
root# cd cpulimit-1.1
root# make
root# cp cpulimit /usr/local/sbin/
root# rm -rf cpulimit*
CPULimit: Using cpulimit we can set limit for process in linux. Limits are expressed in percentage and not in cpu time. It will help us to mange the resources on shared hosting environment.