Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 03-16-2010, 03:43 AM   #1
LQ Newbie
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
ulimit -t with scilab

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)
Old 04-14-2010, 06:59 AM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Are you asking for help to fix your scripts or to work around their deficiencies ?

Old 04-22-2010, 04:29 AM   #3
LQ Newbie
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
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"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scilab in Fedora 11 rintu_here Linux - Software 7 11-13-2009 12:15 PM
scilab code sivaprasad84 Debian 1 08-17-2009 07:39 AM
SciLab GUI randomman Linux - General 1 08-28-2008 01:57 AM
problem in Scilab Installation naveen_kr Fedora 2 10-13-2006 02:26 AM
Developing an application with scilab vrdhananjay Linux - Software 3 12-15-2005 05:26 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration