linux_noob0
September 29th, 2010, 03:14 PM
Hi, I'd like to know if there's a way to record signals like SIGSEGV and SIGABRT into a file. For example, if I have a program called prog, and I execute it from terminal like:
./prog
it does something, but it touches some forbidden memory and produces a SIGSEGV... I'd like to record that information...
Also, if someone knows how to limit the memory and time given to a program (actual time, not general user time), I'd be really thankful for sharing!
Thanks! :)
./prog
it does something, but it touches some forbidden memory and produces a SIGSEGV... I'd like to record that information...
Also, if someone knows how to limit the memory and time given to a program (actual time, not general user time), I'd be really thankful for sharing!
Thanks! :)