run_monitor.sh #3

  • //
  • guest/
  • robert_cowham/
  • p4benchmark/
  • main/
  • run_monitor.sh
  • View
  • Commits
  • Open Download .zip Download (325 B)
#!/usr/bin/bash

sudo pkill -9 nethogs 
kill $(pgrep run_top)

[[ -e nethogs.out ]] && sudo rm nethogs.out
[[ -e ps.out ]] && sudo rm ps.out

num_slaves=$(grep "num_slaves" hosts | awk '{print $2}')
lines=$((2 * $num_slaves + 10))

nohup sudo nethogs -c 800 -t -d 10 > nethogs.out 2>&1 &
nohup ./run_top.sh > ps.out 2>&1 & 

# Change User Description Committed
#4 25529 Robert Cowham Latest copy of files including docker compose setup.
Merging
//guest/robert_cowham/p4benchmark/pb/...
to //guest/robert_cowham/p4benchmark/main/...
#3 24851 Robert Cowham Improve sql reporting.
Log ps usage
#2 24847 Robert Cowham Add submit rate to results
#1 22003 Robert Cowham Latest state - with p4python and no syncing