add some log
This commit is contained in:
parent
3b70249a27
commit
7a924a11e7
|
@ -26,6 +26,7 @@ function dohavecore(){
|
||||||
corefile=`find $corepath -mmin 1`
|
corefile=`find $corepath -mmin 1`
|
||||||
core_file=`echo $corefile|cut -d " " -f2`
|
core_file=`echo $corefile|cut -d " " -f2`
|
||||||
proc=`file $core_file|awk -F "execfn:" '/execfn:/{print $2}'|tr -d \' |awk '{print $1}'|tr -d \,`
|
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
|
if [ -n "$corefile" ];then
|
||||||
echo 'taosd or taos has generated core'
|
echo 'taosd or taos has generated core'
|
||||||
rm case.log
|
rm case.log
|
||||||
|
|
Loading…
Reference in New Issue