#!/usr/bin/env bash

echo Stopping Agents on $(hostname)

# TODO(DH): Determine if we can use pgrep in a cross-Linux compatible way.
ps -ef | grep 'Agent.py' | grep -v grep | awk '{print $2}' | xargs -r kill -9
