Megatest

Diff
Login

Differences From Artifact [03c58ee4f1]:

To Artifact [02152a07a2]:


11
12
13
14
15
16
17
18



19
20
21
22
11
12
13
14
15
16
17

18
19
20
21
22
23
24







-
+
+
+




lperc=`echo "100 * $load / $numcpu"|bc`
if [[ "x$MAX_ALLOWED_LOAD" == "x" ]]; then
  max_load=50
else
  max_load=$MAX_ALLOWED_LOAD
fi 
if [[ $lperc -lt $max_load ]];then
  nbfake "$@"
  echo "$@" | at now + 0 minutes
elif [[ "x$NBLAUNCHER" == "x" ]];then
  echo "nbfind $@" | at now + 2 minutes
else
  $NBLAUNCHER "$@"
fi