Stop, start, and restart DataStax Agents

The following commands are used to stop, start and restart DataStax Agents for each type of installation:

Stop the DataStax Agent

  • Package installations

  • Tarball installations

sudo service datastax-agent stop

To stop the DataStax Agent, find the DataStax Agent Java process ID (PID) and kill the process using its PID number:

ps -ef | grep datastax-agent
sudo kill pid

Start the DataStax Agent

  • Package installations

  • Tarball installations

sudo service datastax-agent start

The DataStax Agent starts automatically.

Optionally, use the -f option to start the Agent in the foreground.

INSTALL_DIRECTORY/bin/datastax-agent

Restart the DataStax Agent

  • Package installations

  • Tarball installations

sudo service datastax-agent restart

To stop the DataStax Agent, find the DataStax Agent Java process ID (PID) and kill the process using its PID number:

ps -ef | grep datastax-agent
sudo kill pid

Then, start the Agent. Optionally, use the -f option to start the Agent in the foreground.

INSTALL_DIRECTORY/bin/datastax-agent

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2025 | Privacy policy | Terms of use Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM