]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Update basrc alias for gcore to get a top -H in the process so we do not forget
authorBrian West <brian@freeswitch.org>
Tue, 6 Nov 2018 14:21:30 +0000 (08:21 -0600)
committerAndrey Volk <andywolk@gmail.com>
Thu, 25 Jul 2019 20:47:48 +0000 (00:47 +0400)
support-d/.bashrc

index df5d727451eed7cbdd125db71a7beeec51886f96..e85838fc030d0d205b7bf4371c15851f7a1454d4 100644 (file)
@@ -121,7 +121,7 @@ alias tgit='git commit --author "Anthony Minessale <anthm@freeswitch.org>"'
 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'