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'