From: Brian West Date: Tue, 6 Nov 2018 14:21:30 +0000 (-0600) Subject: Update basrc alias for gcore to get a top -H in the process so we do not forget X-Git-Tag: v1.10.0~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d7f3df24456b64ceb0e8d3ee36228f08c2a0d87b;p=thirdparty%2Ffreeswitch.git Update basrc alias for gcore to get a top -H in the process so we do not forget --- 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'