Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
installation_guide:debug:start [2022/04/25 20:24] – borja | installation_guide:debug:start [2024/02/19 16:10] (current) – [Coredump generators] borja | ||
---|---|---|---|
Line 116: | Line 116: | ||
</ | </ | ||
+ | ==== Asterisk Manager traffic monitor ==== | ||
+ | |||
+ | Use the " | ||
+ | < | ||
+ | ngrep | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ngrep -d lo -s 1500 port 5038 -T | ||
+ | </ | ||
==== Monitor memory/CPU ==== | ==== Monitor memory/CPU ==== | ||
Line 310: | Line 320: | ||
==== Set the right TimeZone ==== | ==== Set the right TimeZone ==== | ||
- | Install the NTP package to synchronize your server to the world'stime. | + | Install the NTP package to synchronize your server to the world's time. |
< | < | ||
Line 321: | Line 331: | ||
# | # | ||
</ | </ | ||
+ | |||
+ | or automatically, | ||
+ | |||
+ | < | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | ==== Monitor the file descriptors ==== | ||
+ | |||
+ | List the file descriptors used by a process : | ||
+ | |||
+ | < | ||
+ | # ls -l / | ||
+ | </ | ||
+ | |||
+ | ==== Generate a CallStacks or Coredumps ==== | ||
+ | |||
+ | Generate the threads stacks or a coredump file for the process (voximald) : | ||
+ | |||
+ | < | ||
+ | gdb -ex " | ||
+ | gdb / | ||
+ | </ | ||
+ |