Module: kamailio
Branch: master
Commit: 904a1590dbcdbb0fda9f676b4768596f797e9e27
URL:
https://github.com/kamailio/kamailio/commit/904a1590dbcdbb0fda9f676b4768596…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-07-07T19:18:52+02:00
kamctl: print process details in pstrap output
---
Modified: utils/kamctl/kamctl
---
Diff:
https://github.com/kamailio/kamailio/commit/904a1590dbcdbb0fda9f676b4768596…
Patch:
https://github.com/kamailio/kamailio/commit/904a1590dbcdbb0fda9f676b4768596…
---
diff --git a/utils/kamctl/kamctl b/utils/kamctl/kamctl
index a7a63c64a3..1f3b1f38a2 100755
--- a/utils/kamctl/kamctl
+++ b/utils/kamctl/kamctl
@@ -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 "."