Files
oceanbase/tools/obcdc/tests/watch_tps.sh
2022-03-25 18:10:38 +08:00

5 lines
163 B
Bash
Executable File

LOG_FILE=log/liboblog.log
watch -n 1 "if [ -f $LOG_FILE ]; then grep NEXT_RECORD_TPS $LOG_FILE | awk '{print \$1, \$2, \$10, \$11, \$12, \$13}' | tail -n 3; fi"