Skip to content
sipp-bb 385 B
Newer Older
Olav Kvittem's avatar
Olav Kvittem committed
#!/bin/bash
# make qstream statistics from sipp-test logs
# - listen to updates on the task.log file

if test .$1 = .-cf ; then
  source  $2
  shift; shift
else
  source /etc/sipshaman/sipshaman.cf
fi
Olav Kvittem's avatar
Olav Kvittem committed

y=`date +%Y`
m=`date +%m`
d=`date +%d`
h=`date +%H`

ydir=$DATA/$y
mdir=$ydir/$m
ddir=$mdir/$d
hdir=$ddir/$h

cd $hdir

 $BIN/qstream-sipp-check $* -bb $BB_HOST -f -die 59 task.log