From d7f3df24456b64ceb0e8d3ee36228f08c2a0d87b Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 6 Nov 2018 08:21:30 -0600 Subject: [PATCH] Update basrc alias for gcore to get a top -H in the process so we do not forget --- support-d/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support-d/.bashrc b/support-d/.bashrc index df5d727451..e85838fc03 100644 --- a/support-d/.bashrc +++ b/support-d/.bashrc @@ -121,7 +121,7 @@ alias tgit='git commit --author "Anthony Minessale "' alias dp='emacs $sysconfdir/dialplan/default.xml' alias go='$bindir/freeswitch -nonat' alias fstop='top -p `cat $runtimedir/freeswitch.pid`' -alias fsgcore='gcore `cat $runtimedir/freeswitch.pid`' +alias fsgcore='gcore `cat $runtimedir/freeswitch.pid` && top -H -n1 -b > core.`cat $runtimedir/freeswitch.pid`.txt' alias fsgdb='gdb $bindir/freeswitch `cat $runtimedir/freeswitch.pid`' alias fscore='gdb $bindir/freeswitch `ls -rt core.* | tail -n1`' alias emacs='emacs -nw'