Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

bmvamsi.sql_192302 avatar image
bmvamsi.sql_192302 asked ·

Is there a way of checking if a process is running without having to SSH to a node?

we've cassandra cluster, my requirement is to verify java process (like datastax agent process, opscenter process ) running in all the nodes in the Cassandra cluster .

I will connect to one node in the cluster and run the below command
ps -ef | egrep '[j]ava'

is there a way to verify the java process running or not in the remaining nodes of the cluster without doing ssh to the remaining nodes to verify the status of all nodes in the cluster

Please let me know .


monitoring
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

This isn't really a Cassandra question. The quick answer is that you need to login to a server in order to check the process table. There really isn't a way of doing this without connecting via SSH.

You should consult your sysadmin team for questions on the operating system. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.