3 function start_monitor_sample {
4 cp $TOP_DIR/lib/monitors/sample/monitor.py $TOP_DIR/monitor.py
5 pgrep -f "python monitor.py" && return 0
6 sudo -E python monitor.py "$COMPUTE_HOST" "$COMPUTE_IP" "$INSPECTOR_TYPE" \
10 function stop_monitor_sample {
11 pgrep -f "python monitor.py" || return 0
12 sudo kill $(pgrep -f "python monitor.py")
15 function cleanup_monitor_sample {