Skip to content

Commit

Permalink
kamctl: print process details in pstrap output
Browse files Browse the repository at this point in the history
(cherry picked from commit 904a159)
  • Loading branch information
miconda committed Sep 8, 2020
1 parent fa70426 commit 12aecb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/kamctl/kamctl
Expand Up @@ -2958,7 +2958,7 @@ kamailio_pstrap() {
PID=`echo $pid | cut -d '-' -f 1`
echo "" >> $LOG_FILE
echo "---start $PID -----------------------------------------------------" >> $LOG_FILE
$GDB kamailio $PID -batch --eval-command="bt full" >> $LOG_FILE 2>&1
$GDB kamailio $PID -batch --eval-command="p process_no" --eval-command="p pt[process_no]" --eval-command="bt full" >> $LOG_FILE 2>&1
echo "---end $PID -------------------------------------------------------" >> $LOG_FILE
done
echo "."
Expand Down

0 comments on commit 12aecb2

Please sign in to comment.