Does any know how to catch the signal sent to a process called by PHP?

eg.

$something = `ulimit -t 30 -otherlimit; ./loop_to_death`;

ulimit should return something like SIGALRM

I use exec() but it only give me the exit code (always 128+9), not the signal......

because i need to know the reason of ulimit to terminated that program
whether is CPU time too much, or other limits exceeded

I was delighted to see "proc_get_status" but unluckily the machine only have PHP 4.3.0 
.........
(can't install PHP5 because something were missing... XML? forgotten)

Please help!

-- 

- Eddy Wong
__________________________
inframatrix internet solutions
http://www.inframatrix.com/


       ¥¿¤KEddy
Regular Octa-Eddy
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@¡½¢ª¢©
[EMAIL PROTECTED]@[EMAIL PROTECTED]@¡½ É\¿ß¡G [EMAIL PROTECTED]
[EMAIL PROTECTED]@¡½ É\¨¦¡G news://news.fixip.net/chat.ed
[EMAIL PROTECTED]@[EMAIL PROTECTED]@¡½ É\®Þ¤Æ¡G news://news.fixip.net/
[EMAIL PROTECTED]@¡½¢¨¢«
[EMAIL PROTECTED]@

Reply via email to