You can stop the Dgraph, the HDFS Agent, Studio, and the Dgraph Gateway by running the bdd-admin script with the stop command.
./bdd-admin.sh stop [component] <option>
You can specify any of the component and option arguments listed in About the bdd-admin script.
When stopping the Dgraph, the script terminates all currently running processes if it does not shut down within 30 seconds. When stopping the HDFS Agent (either directly or by stopping the Dgraph), the script waits for all processes to complete before shutting it down.
./bdd-admin.sh stop --all
./bdd-admin.sh stop --bddServer web009.us.example.com