#!/bin/sh
 
echo
echo starting multimon.py at `date`
 
#database="157.132.42.221"
database="sps-dbs"
#computers="localhost"
computers="sps-ichub21 sps-ichub29 sps-ichub30 sps-ichub38 sps-ichub39 sps-ichub40 sps-ichub49 sps-ichub50 sps-ichub59 sps-ithub01 sps-ithub02"

 
cd $HOME/monitoring
 
year=$(date +%Y)
month=$(date +%m)
day=$(date +%d)
 
mkdir $year
cd $year
mkdir $month
cd $month
mkdir $day.deadtime51us
cd $day.deadtime51us
 
nohup multimon.py -H ${database} -S normalFAT -d 10 -o $HOME/monitoring/$year/$month/$day.deadtime51us ${computers} &
 
