From 5b463ac4dfaee130014cc98abcdab6e74677af90 Mon Sep 17 00:00:00 2001 From: zhaoyanggh Date: Wed, 21 Jul 2021 17:19:28 +0800 Subject: [PATCH] [TD-4812] monitor dnode and mnode status and save to log --- tests/robust/monitor.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 tests/robust/monitor.sh diff --git a/tests/robust/monitor.sh b/tests/robust/monitor.sh new file mode 100755 index 0000000000..4fc1fed752 --- /dev/null +++ b/tests/robust/monitor.sh @@ -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 \ No newline at end of file