$count) { $output2 = shell_exec("php /opt/DragonCore/menu.php printlim2 $username"); if (preg_match('/\b(\d+)\b/', $output2, $matches)) { $limit = $matches[1]; if ($count > $limit) { shell_exec("kill -9 `ps -fu $username | awk '{print $2}' | grep -v PID`"); echo "$username Not OK : $count\n"; } else { echo "$username OK : $count \n"; } } } } while (true) { clearScreen(); limiter(); sleep(5 * 60); } ?>