Skip to content

Commit d7f3df2

Browse files
briankwestandywolk
authored andcommitted
Update basrc alias for gcore to get a top -H in the process so we do not forget
1 parent d16575d commit d7f3df2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support-d/.bashrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ alias tgit='git commit --author "Anthony Minessale <[email protected]>"'
121121
alias dp='emacs $sysconfdir/dialplan/default.xml'
122122
alias go='$bindir/freeswitch -nonat'
123123
alias fstop='top -p `cat $runtimedir/freeswitch.pid`'
124-
alias fsgcore='gcore `cat $runtimedir/freeswitch.pid`'
124+
alias fsgcore='gcore `cat $runtimedir/freeswitch.pid` && top -H -n1 -b > core.`cat $runtimedir/freeswitch.pid`.txt'
125125
alias fsgdb='gdb $bindir/freeswitch `cat $runtimedir/freeswitch.pid`'
126126
alias fscore='gdb $bindir/freeswitch `ls -rt core.* | tail -n1`'
127127
alias emacs='emacs -nw'

0 commit comments

Comments
 (0)