I have a bash script which runs other cpu-intensive commands .When I apply cpulimit on the bash script, the output of top shows processes for the commands inside the script still run without limitation by cpulimit. I wonder how I can limit the cpu usage of the commands inside the bash script? 
cpulimit on a bash script which runs other commands
bash;shell script;cpu;limit;cpu usage