add debug info

This commit is contained in:
dapan1121 2021-03-31 09:19:31 +08:00
parent 75faa804df
commit 735e1a441a
1 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,9 @@ function stopTaosd {
function dohavecore(){
corefile=`find $corepath -mmin 1`
core_file=`echo $corefile|cut -d " " -f2`
echo $core_file
echo "corefile:$core_file"
echo "corepath:$corepath"
ls -l $corepath
proc=`echo $corefile|cut -d "_" -f3`
if [ -n "$corefile" ];then
echo 'taosd or taos has generated core'