|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21572/root/usr/sbin/ |
Upload File : |
#!/bin/sh
#
# @(#)nhfsnums.sh 1.3 89/07/07 Copyright (c) 1989, Legato Systems, Inc.
#
# See DISCLAIMER file for restrictions
#
#
# Usage: nhfsnums <numsfile> ...
#
# Collect raw numbers from nhfsstone output and print in plot(5) format.
# The nums files should be named "run.xxx" where xxx is a name related
# to the numbers gathered. Each file will produce one line with a label
# that is the file suffix (the part following the dot.)
#
for i in $*; do
RUNNAME=`echo $i | sed -e 's/.*\\.//'`
awk '{ print $5 " " $7 }' $i \
| sort -n\
| sed -e "\$s/\$/ \"$RUNNAME\"/"
done