summaryrefslogtreecommitdiff
path: root/example-scripts/misc/benchmark.sh
blob: 70b8cfa99186eb797685dc6cb09aad6a52950f2c (plain)
  1. #!/bin/bash
  2. ../../voctocore/voctocore.py &
  3. PID=$!
  4. echo "PID=$PID"
  5. sleep 1
  6. ../control-server/set-composite-side-by-side-equal.sh >/dev/null 2>/dev/null
  7. ../ffmpeg/source-testvideo-as-cam1.sh >/dev/null 2>/dev/null &
  8. ../ffmpeg/source-testvideo-as-cam2.sh >/dev/null 2>/dev/null &
  9. pidstat -p $PID 1 &
  10. sleep 10
  11. kill $PID
  12. wait