create a cron for
#!/bin/bash
cpulimit --pid `ps aux|awk '{if($3 < 10) print $2}'` --limit=99
cpulimit --pid `ps aux|awk '{if($3 > 60) print $2}'` --limit=25
create a cron for
#!/bin/bash
cpulimit --pid `ps aux|awk '{if($3 < 10) print $2}'` --limit=99
cpulimit --pid `ps aux|awk '{if($3 > 60) print $2}'` --limit=25