This could be two questions with different answers:

1. Is there anyone / who is connected to the Cassandra server right now?

Use the netstat or ss command and check the active TCP connections on native port (default is 9042)


2. Is there anyone / who is connecting to the Cassandra servers between now and next hour/day/week/month/etc.?

Use iptables/nftables to log new TCP connections (ct state new) on that port


On 19/11/2021 18:12, Saha, Sushanta K wrote:
I need to shutdown an old Apache Cassandra server for good. Running 3.0.x. Any way I can determine if anyone is still connecting to the Cassandra instance running on this server?

Thanks
.... Sushanta

Reply via email to