Forum Discussion

mishiranu_20050's avatar
mishiranu_20050
Icon for Nimbostratus rankNimbostratus
Aug 05, 2015

Count number of connection per server node member

Hi,

 

would like to know if there are any tmsh cut command for the count of each node member hitting on the VIP.

 

I knew the count number of connection per source ip which is below

 

"tmsh show sys connection cs-server-addr VIP | egrep -v 'T|S' | cut -d: -f 1 |sort | uniq -c"

 

i want to know what would i change if i needed to count per server node member.

 

Your help would greatly appreciated!

 

  • try this, it should give you count pool member

    tmsh show sys connection cs-server-addr VIP | grep -v 'T\|S' | awk '{print $4}' |sort | uniq -c

  • kunjan's avatar
    kunjan
    Icon for Nimbostratus rankNimbostratus

    Try this.

    tmsh show ltm virtual VIP detail | sed -n '/Node/,/Current/p'