summaryrefslogtreecommitdiffstats
path: root/utils/nhfsstone/nhfsgraph
blob: 56e2c77e53c874cc5273d6c541988e474d9a179a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
#
# @(#)nhfsgraph.sh 1.3 89/07/07 Copyright (c) 1989, Legato Systems, Inc.
#
# See DISCLAIMER file for restrictions
#

#
# Usage: nhfsgraph <graphfile> ...
#
# Produce a PostScript graph of nhfsstone numbers.
# Graphfile is a file with number pairs in plot(5) format derived
# from runs of nhfsstone at different loads (see "nhfsrun" and "nhfsnums"
# scripts.
#
# If you want something other than PostScript output replace "psplot"
# with "plot". See plot(1) for more details.
#

LABEL="x=Load (calls/sec) y=Response (msec/call)"

cat $* \
    | graph -b -u .1 -h 1.2 -g 2 -l "$LABEL" -x 10 80 10 | psplot