Forum Discussion
TMSH command to count number of connections to VIP per client IP?
We used to have a great AWK guy on the team that wrote us a nice bigpipe one-liner to count the number of connections to a VIP by client IP:
b conn server VIP:PORT show all | grep CLIENTSIDE | awk '{print $2}' | cut -d : -f 1 | uniq -c
However, as we move away from bigpipe I need to find a way to do this with TMSH. Does anyone have one in their toolbox already, or am I missing a simple command based method to get this information?
I appreciate the help, AWK is not a skill I've picked up over the years.
2 Replies
- arpydays
Nimbostratus
this might give a similar result
tmsh show sys connection cs-server-addr VIP cs-server-port PORT | grep -v 'T|S' | cut -d: -f 1 | sort | uniq -c
- mishiranu_20050
Nimbostratus
Can you share how about per server node member thanks!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com