3 # @(#)nhfsnums.sh 1.3 89/07/07 Copyright (c) 1989, Legato Systems, Inc.
5 # See DISCLAIMER file for restrictions
9 # Usage: nhfsnums <numsfile> ...
11 # Collect raw numbers from nhfsstone output and print in plot(5) format.
12 # The nums files should be named "run.xxx" where xxx is a name related
13 # to the numbers gathered. Each file will produce one line with a label
14 # that is the file suffix (the part following the dot.)
18 RUNNAME=`echo $i | sed -e 's/.*\\.//'`
19 awk '{ print $5 " " $7 }' $i \
21 | sed -e "\$s/\$/ \"$RUNNAME\"/"