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! |
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.
|
All times are GMT -5. The time now is 08:27 AM. |