X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fnhfsstone%2Fnhfsrun;h=ce77acec2d44d8abf89b609bfb976fce84d83d41;hb=a503848d423fe1681879936da7b526b15f7eca23;hp=dfc24eb05dd5f7ec4baa4cd62b41b880e951b67f;hpb=8b7ad01b14df1e7529b9ba8a1ea17df0d6004ef9;p=nfs-utils.git diff --git a/utils/nhfsstone/nhfsrun b/utils/nhfsstone/nhfsrun index dfc24eb..ce77ace 100755 --- a/utils/nhfsstone/nhfsrun +++ b/utils/nhfsstone/nhfsrun @@ -46,7 +46,7 @@ INCR=10 # SIGUSR1 is used by nhfsstone to synchronize child processes. # nothing() { echo -n ""; } -trap nothing 30 +trap nothing USR1 rm -f $OUTFILE @@ -54,6 +54,6 @@ LOAD=$START while [ $LOAD -le $END ]; do echo nhfsstone -l $LOAD nhfsstone -l $LOAD >> $OUTFILE - tail -1 $OUTFILE + tail -n 1 $OUTFILE LOAD=`expr $LOAD + $INCR` done