[TD-4812] monitor dnode and mnode status and save to log
This commit is contained in:
parent
7fee581d88
commit
5b463ac4df
|
@ -0,0 +1,8 @@
|
||||||
|
while :
|
||||||
|
do
|
||||||
|
dlog=`taos -s "show dnodes"`
|
||||||
|
mlog=`taos -s "show mnodes"`
|
||||||
|
echo "$dlog" | tee -a dnode.log
|
||||||
|
echo "$mlog" | tee -a mnode.log
|
||||||
|
sleep 1s
|
||||||
|
done
|
Loading…
Reference in New Issue