Saturday, January 20, 2018

Checking which nodes connected to cassandra node

netstat -plantu | grep 9042

(9042) is the port for CQL clients


(9160) is the port for thrift.

This gives the list of services that run on the system on tcp and upd

-l = only services which are listening on some port

-n = show port number, don't try to resolve the service name

-t = tcp ports

-u = udp ports

-p = name of the program


***

No comments:

Post a Comment