]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ast_coredumper: add Asterisk information dump
authorKevin Harwell <kharwell@digium.com>
Tue, 17 Mar 2020 20:54:25 +0000 (15:54 -0500)
committerJoshua Colp <jcolp@sangoma.com>
Thu, 26 Mar 2020 12:41:18 +0000 (07:41 -0500)
commit9255a17410799a5f82427de1faab251e69302dd2
treea222e1354dfece180cb9791f0a706c43b4a476a6
parent836203a3fdb3008075b1142ec86985823fd9d9b0
ast_coredumper: add Asterisk information dump

This patch makes it so ast_coredumper now outputs the following information to
a *-info.txt file when processing a core file:

  asterisk version and "built by" string
  BUILD_OPTS
  system start, and last reloaded date/time
  taskprocessor list
  equivalent of "bridge show all"
  equivalent of "core show channels verbose"

Also a slight modification was made when trying to obtain the pid(s) of a
running Asterisk. If it fails to retrieve any it now reports an error.

Change-Id: I54f35c19ab69b8f8dc78cc933c3fb7c99cef346b
contrib/scripts/ast_coredumper