1 #! /bin/sh 2 3 ############################################################################### 4 # # 5 # Copyright (c) 2010 FUJITSU LIMITED # 6 # # 7 # This program is free software; you can redistribute it and/or modify it # 8 # under the terms of the GNU General Public License as published by the Free # 9 # Software Foundation; either version 2 of the License, or (at your option) # 10 # any later version. # 11 # # 12 # Author: Li Zefan <lizf (at] cn.fujitsu.com> # 13 # # 14 ############################################################################### 15 16 LOOP=200 17 18 i=0; 19 while true; do 20 while [ $i -lt $LOOP ]; do 21 cat "$TRACING_PATH"/trace > /dev/null 22 i=$((i + 1)) 23 done 24 sleep 1 25 done 26