#!/bin/bash function bail () { echo "Error: ${1:-Unknown Error}\n"; exit ${2:-1}; } instance=${1:-Unset} [[ $instance == "Unset" ]] && bail "Specify instance as parameter" function del_clients() { P4PORT=${1} p4 -p $P4PORT -u bruno clients -e bruno* | cut -d" " -f2 | while read f; do p4 -p $P4PORT -u bruno client -d -f $f; done } p4port=$(ps ax | grep "p4d_${instance}" | grep -v grep | head -1 |perl -ne 'print "$1" if /\-p\s*([0-9.:]+)/') # Run for edge servers: # del_clients sn1-r720-a02-13:${instance}666 # del_clients sn1-r720-a02-15:${instance}666 # del_clients sn1-r720-a02-17:${instance}666 # del_clients sn1-r720-a02-19:${instance}666 del_clients $p4port
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#9 | 25529 | Robert Cowham |
Latest copy of files including docker compose setup. Merging //guest/robert_cowham/p4benchmark/pb/... to //guest/robert_cowham/p4benchmark/main/... |
||
#8 | 24847 | Robert Cowham | Add submit rate to results | ||
#7 | 24752 | Robert Cowham |
Del clients adjustment. config for basic bnechmakr fixed |
||
#6 | 21901 | Robert Cowham | refactor | ||
#5 | 21895 | Robert Cowham | Remove edge clients too | ||
#4 | 21791 | Robert Cowham | Make multi client | ||
#3 | 21767 | Robert Cowham | add latest stuff with analyse | ||
#2 | 21692 | Robert Cowham | MAke more robust for concurrent usage | ||
#1 | 19799 | Robert Cowham | Refactored to put some common stuff in RepoLocust.py |