There is a shell script to do this for you now that we don’t have the BESAgentControlPanel.app
sudo /Library/BESAgent/BESAgent.app/Contents/MacOS/BESAgentControlPanel.sh
Usage: AgentControlPanel [-version] [-status] [-location] [-pid]
[-start] [-stop] [-restart]