Forum Discussion
How to show time_wait connections with the ip address
Hi.
I need to get all connections that are in time_wait with bigip... I know there is a way to do that with netstat... but is there anyway to do by tmsh?
thanks.
9 Replies
- Brad_Parker_139
Nacreous
from a bash prompt,
. From tmsh,netstat | grep TIME_WAITrun util bash -c "netstat | grep TIME_WAIT"- Brad_Parker_139
Nacreous
add -n to prevent resolution of names if you want IP addresses. netstat -n | grep TIME_WAIT or run util bash -c "netstat -n | grep TIME_WAIT"
- Brad_Parker
Cirrus
from a bash prompt,
. From tmsh,netstat | grep TIME_WAITrun util bash -c "netstat | grep TIME_WAIT"- Brad_Parker
Cirrus
add -n to prevent resolution of names if you want IP addresses. netstat -n | grep TIME_WAIT or run util bash -c "netstat -n | grep TIME_WAIT"
- Caio_178191
Nimbostratus
Thanks for you answer Brad. But as I said, I would like to do that without netstat.
I already try to find a solution for that but I'm seeing I will have to use netstat. TMSH does not give me this option.
Thanks.
- Brad_Parker
Cirrus
what's you issue with using netstat via bash? - Caio_178191
Nimbostratus
there is no issue... I'm in a customer that would like to have the data by tmsh... don't ask me why he want that... =S
- What_Lies_Bene1
Cirrostratus
You may find you prefer the
command, here's two examples;ssss state time-wait ss -t4 state time-wait only IPv4 connections - Caio_178191
Nimbostratus
Hi. Here is some new information.
The netstat doesn't get the connections in VS. I need to know the connections that are in time_wait in a VS and netstat doesn't give me that. Does I have another way to do that?
I'm using v11.4.1 version.
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
