Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-30-2011, 05:05 PM   #1
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, 11:32 AM   #2
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.


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

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