Re: [E] Re: Anyone connecting the Cassandra on a server

2021-11-29 Thread Saha, Sushanta K
Thanks Bowen! Sushanta On Fri, Nov 19, 2021 at 4:01 PM Bowen Song wrote: > 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

Re: Anyone connecting the Cassandra on a server

2021-11-19 Thread Bowen Song
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

Re: [E] Re: Anyone connecting the Cassandra on a server

2021-11-19 Thread Saha, Sushanta K
Thanks a lot Soumya, Surbhi, and Paul. Appreciate your help! Sushanta On Fri, Nov 19, 2021 at 2:19 PM Paul Chandler wrote: > I wrote a blog post describing how to do this a few years ago: > http://www.redshots.com/who-is-connecting-to-a-cassandra-cluster/ >

Re: Anyone connecting the Cassandra on a server

2021-11-19 Thread Paul Chandler
I wrote a blog post describing how to do this a few years ago: http://www.redshots.com/who-is-connecting-to-a-cassandra-cluster/ Sent from my iPhone > On 19 Nov 2021, at 18:13, Saha, Sushanta K > wrote: > >  > I need to shutdown an old Apache Cassandra server for good. Running 3.0.x. >

Re: Anyone connecting the Cassandra on a server

2021-11-19 Thread Surbhi Gupta
You can use tcpdump On Fri, 19 Nov 2021 at 10:34, Soumya Jena wrote: > You can just do a netstat on port 9042 to see if anything connected . > > Something like > netstat -anp | grep 9042 . > > Or you can also check for read/write client requests metrics . You can > check if specific tables are

Re: Anyone connecting the Cassandra on a server

2021-11-19 Thread Soumya Jena
You can just do a netstat on port 9042 to see if anything connected . Something like netstat -anp | grep 9042 . Or you can also check for read/write client requests metrics . You can check if specific tables are taking read or writes . There is also a metrics to see number of connected clients .

Anyone connecting the Cassandra on a server

2021-11-19 Thread Saha, Sushanta K
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