Forum Discussion
smp_86112
Cirrostratus
Sep 17, 2009answering question based on b conn output
It seems that a simple
b conn all show all
output has really useful information. For example, I could answer important questions, like "Which client has the highest number of connections to a particular VIP?", or "Which VIP has the highest number of connections", or simply output the top 10 clients with the highest number of connections to any VIP. Has anyone written anything to output this type of information? At one time I had started to expand on a shell script I got from F5, but I was hoping someone had already done the heavy lifting.- The_Bhattman
Nimbostratus
Here you go:b conn | grep | awk '{print $1 }' | cut -d : -f 1 | uniq -c | sort
- smp_86112
Cirrostratus
Thank you, though I have already seen this and a couple other similar commands. There are quite a number of questions I have asked myself that could be answered by these types of commands - I just haven't generated all the commands myself yet. - hoolio
Cirrostratus
As CB noted, 'b conn' will only return 7037 connections. So it wouldn't do you too much good if you have well over that anyhow. - smp_86112
Cirrostratus
Oh, yeah, duh... the connection to the SOL didn't click until your post. How discouraging though. I can only display .5% of all the active connections on my box? That is ridiculous.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects