installation_guide:debug:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
installation_guide:debug:start [2023/08/04 08:01] – [Set the right TimeZone] borjainstallation_guide:debug:start [2024/02/19 16:10] (current) – [Coredump generators] borja
Line 345: Line 345:
 # ls -l /proc/[PID]/fd # ls -l /proc/[PID]/fd
 </code> </code>
 +
 +==== Generate a CallStacks or Coredumps ====
 +
 +Generate the threads stacks or a coredump file for the process (voximald) :
 +
 +<code>
 +gdb -ex "thread apply all bt" --batch /usr/sbin/voximald $(pidof voximald) > /var/log/voximal/backtrace-voximald$(date +%s).txt
 +gdb /usr/sbin/voximald $(pidof voximald) -ex "gcore /tmp/toto.core" --batch
 +</code>
 +
  • installation_guide/debug/start.1691136096.txt.gz
  • Last modified: 2023/08/04 08:01
  • by borja