#!/bin/bash # Waits for the end of the benchmark config_file=$(ls -tr config_p4_* | tail -1) p4port=`grep 666 $config_file | head -1 | sed -e 's/\s*port:\s*//' | sed -e 's/ \- //'` p4user=`grep user $config_file | sed -e 's/\s*user:\s*//'` p4="p4 -p $p4port -u $p4user " count=0 while true do # count=$(ps ax | grep p4d_ | grep -v grep | wc -l) for h in sn1-r720-a02-11 sn1-r720-a02-13 sn1-r720-a02-15 sn1-r720-a02-17 sn1-r720-a02-19 do cnt=$($p4 monitor show | grep -v monitor | grep -v rmt-Journal | grep -v pull | wc -l) cnt=$(p4 -p $h:1666 -u perforce monitor show | grep -v monitor | grep -v rmt-Journal | grep -v pull | wc -l) echo $h $cnt done count=$(($count + $cnt)) [[ $count -eq 0 ]] && echo -e "\n\nBenchmark has finished!!\n\n" && break sleep 10 done
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#7 | 25669 | Robert Cowham | Refactored - move scripts to utils dir | ||
#6 | 25520 | Robert Cowham |
Tidied up. Created 2 client workspaces |
||
#5 | 25519 | Robert Cowham | Basically working | ||
#4 | 25449 | Robert Cowham |
Latest updates. Record changes |
||
#3 | 25356 | Robert Cowham | Latest tests | ||
#2 | 25354 | Robert Cowham | Working with multiple edges | ||
#1 | 25353 | Robert Cowham | Monitor network at beginning and end of benchmark |