add debug info
This commit is contained in:
parent
75faa804df
commit
735e1a441a
|
@ -25,7 +25,9 @@ function stopTaosd {
|
||||||
function dohavecore(){
|
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`
|
||||||
echo $core_file
|
echo "corefile:$core_file"
|
||||||
|
echo "corepath:$corepath"
|
||||||
|
ls -l $corepath
|
||||||
proc=`echo $corefile|cut -d "_" -f3`
|
proc=`echo $corefile|cut -d "_" -f3`
|
||||||
if [ -n "$corefile" ];then
|
if [ -n "$corefile" ];then
|
||||||
echo 'taosd or taos has generated core'
|
echo 'taosd or taos has generated core'
|
||||||
|
|
Loading…
Reference in New Issue