X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fnhfsstone%2Fnhfsrun;fp=utils%2Fnhfsstone%2Fnhfsrun;h=0000000000000000000000000000000000000000;hb=fd1b52710313d01f537a1afcba1a7a4d67ab8ac7;hp=ce77acec2d44d8abf89b609bfb976fce84d83d41;hpb=5d5d8dc1f093f73825b5c2fc814f0a9a565bd384;p=nfs-utils.git diff --git a/utils/nhfsstone/nhfsrun b/utils/nhfsstone/nhfsrun deleted file mode 100755 index ce77ace..0000000 --- a/utils/nhfsstone/nhfsrun +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/sh -# -# @(#)nhfsrun.sh 1.3 89/07/07 Copyright (c) 1989, Legato Systems, Inc. -# -# See DISCLAIMER file for restrictions -# - -# -# Usage: nhfsrun [suffix] -# -# Run nhfsstone with a range of different loads and put -# results in a file called run. -# - -if [ $# -gt 1 ]; then - echo "usage: $0 [suffix]" - exit 1 -fi - -# -# Output file -# -if [ $# -eq 1 ]; then - OUTFILE=run.$1 -else - OUTFILE=run.out -fi - -# -# Starting load -# -START=10 - -# -# Ending load -# -END=80 - -# -# Load increment -# -INCR=10 - -# -# Catch SIGUSR1 and ignore it. -# SIGUSR1 is used by nhfsstone to synchronize child processes. -# -nothing() { echo -n ""; } -trap nothing USR1 - -rm -f $OUTFILE - -LOAD=$START -while [ $LOAD -le $END ]; do - echo nhfsstone -l $LOAD - nhfsstone -l $LOAD >> $OUTFILE - tail -n 1 $OUTFILE - LOAD=`expr $LOAD + $INCR` -done