You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
669 B

#!/bin/sh
# set -x
# Program name: metricator_reader.sh
# Compatibility: Shell
# Purpose - read nmon data from fifo file and output to stdout
# Author - Guilhem Marchand
# Version 2.0.0
# For AIX / Linux / Solaris
#################################################
## Your Customizations Go Here ##
#################################################
# fifo to be read (valid choices are: fifo1 | fifo2
FIFO=$1
####################################################################
############# Main Program ############
####################################################################
while IFS= read line
do
echo $line
done <$FIFO
exit 0