File: nhfsgraph

package info (click to toggle)
nfs-utils 1%3A1.0.6-3.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,532 kB
  • ctags: 1,845
  • sloc: ansic: 16,107; sh: 3,129; makefile: 272
file content (23 lines) | stat: -rwxr-xr-x 616 bytes parent folder | download | duplicates (5)
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