LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2011, 04:05 PM   #1
sctebnt
LQ Newbie
 
Registered: Mar 2011
Location: Illinois
Posts: 4

Rep: Reputation: 0
Can I change the SIGNAL done when ulimit is reached?


I would like to use ulimit -St <some number> to stop a process form running once the process has exceeded the amount of CPU time specified in the ulimt arg.

I have been able to get ulimit -t (or -Ht) to kill my process, but I need the signal to be something other than 9 and other than SIGXCPU.

Is there a way to have ulimit issue a kill -<somthing else> when the cpu time specified has been exceeded?

Thanks in advance for your help!
 
Old 04-11-2011, 10:32 AM   #2
rfelsburg
Member
 
Registered: Nov 2008
Posts: 52

Rep: Reputation: 18
Not directly with ulimit however I can see using a bash script and doing this in an indirect way. With a little more info, we can probably get one hammered out.
 
  


Reply


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
ulimit -s 40960 vs ulimit ulimit -s 10240 centguy Linux - Software 2 10-22-2016 11:38 PM
signal frequency out of range please change signal timing ifranklin Linux - Hardware 6 11-05-2010 02:18 AM
Change is not reflected in ulimit -a Linux_Kid_ Linux - Software 3 06-29-2009 09:45 AM
Signal frequency out of range / please change signal timing starrynite Linux - Hardware 1 01-06-2007 11:18 AM
change user's ulimit (open files) mpregent Linux - Newbie 1 07-07-2004 02:59 PM


All times are GMT -5. The time now is 02:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration