We need a simple bash script to run our SuSE 12.1 Linux servers.
The bash script need to run every minutes, we will put in cron.
The script need to kill any process which uses more then 200% CPU (our servers has 8-16-24 core), but only with specified user. So, a user running a lot of process, on our server, not only one. On more thing: the script do not have to kill right on time, just after if a proccess uses 200% five times. (so the cron running every minute, so if a process use 200 % cpu at least 5 minutes, it must be killed)