]> git.decadent.org.uk Git - nfs-utils.git/blob - utils/nhfsstone/nhfsgraph
Install nhfsstone helper scripts and their man pages.
[nfs-utils.git] / utils / nhfsstone / nhfsgraph
1 #!/bin/sh
2 #
3 # @(#)nhfsgraph.sh 1.3 89/07/07 Copyright (c) 1989, Legato Systems, Inc.
4 #
5 # See DISCLAIMER file for restrictions
6 #
7
8 #
9 # Usage: nhfsgraph <graphfile> ...
10 #
11 # Produce a PostScript graph of nhfsstone numbers.
12 # Graphfile is a file with number pairs in plot(5) format derived
13 # from runs of nhfsstone at different loads (see "nhfsrun" and "nhfsnums"
14 # scripts.
15 #
16 # If you want something other than PostScript output replace "psplot"
17 # with "plot". See plot(1) for more details.
18 #
19
20 LABEL="x=Load (calls/sec) y=Response (msec/call)"
21
22 cat $* \
23     | graph -b -u .1 -h 1.2 -g 2 -l "$LABEL" -x 10 80 10 | psplot