LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


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

Rep: Reputation: 0
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)
 
Old 04-14-2010, 06:59 AM   #2
kbp
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 ?

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

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:19 PM.

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