in reply to Re^2: Track command time
in thread Track command time

No. You can only have one alarm and the sequence of setting/resetting $SIG{ALRM} will certainly lead to race conditions.