add some log

This commit is contained in:
liuyq-617 2021-08-12 11:29:18 +08:00
parent 3b70249a27
commit 7a924a11e7
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ function dohavecore(){
corefile=`find $corepath -mmin 1`
core_file=`echo $corefile|cut -d " " -f2`
proc=`file $core_file|awk -F "execfn:" '/execfn:/{print $2}'|tr -d \' |awk '{print $1}'|tr -d \,`
echo $core_file,$corefile
if [ -n "$corefile" ];then
echo 'taosd or taos has generated core'
rm case.log