LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   ulimit -t with scilab (https://www.linuxquestions.org/questions/linux-security-4/ulimit-t-with-scilab-795811/)

ankitml 03-16-2010 03:43 AM

ulimit -t with scilab
 
Hi
i have scilab scritps which have tendency to behave badly(infinite loops/runtime errors).
right now I am using following commands

ulimit -t 2
scilab -f "script1.sci"

Now if the script has infinite loop this scheme will work pretty well, but not in the case of erroneous script, it just stops in scilab shell and doesnt come back to terminal.

I am using ubuntu (karmic)

kbp 04-14-2010 06:59 AM

Are you asking for help to fix your scripts or to work around their deficiencies ?

k

ankitml 04-22-2010 04:29 AM

Hi..
the scripts were given to me for correction and assessments, so i was planning to automate the assessment process rather than the manual way. For that the first task was to remove any script that can have infinite loops etc etc.

The issue has been resolved by using the program "timelimit"


All times are GMT -5. The time now is 03:22 PM.