Forum Discussion
Real-time connection
M@rk suggested that you can use:
man grep
It lists the options grep uses.
This works the majority of the Linux commands.
The -F is to make sure grep does not uses regular expressions, so treats the text as string only, in regular expression the dot means any character.
This was because the ipv4 address, but unlike to make any difference in this case, just good practice.
If you can paste here the configuration of one of the virtual server you are trying to list the connection, and the output of the cli showing your attempts, I can try to figure out why is not working.
To show the virtual server configuration via cli:
tmsh list ltm virtual <virtual server name>
- AnjuDec 23, 2019Altostratus
Tried the 'man grep' command, its not working and giving the syntax error - Syntax Error: "man", grep is currently the only filter that is supported.
(tmos)# list ltm virtual XYZ.app/
01020036:3: The requested Virtual Server (/PARTITION/XYZ.app) was not found.
(tmos)# show sys connection cs-server-addr ?
Specifies the clientside local address of the active connections. Subnets are supported.
Tried seeing connections for lot of VIPs, here is the output of what I get -
(tmos)# show sys connection cs-server-addr x.x.x.x
Sys::Connections
Total records returned: 0
If I do grep using the same IP - x.x.x.x , it displays the complete output for first 1K connections
(tmos)# show sys connection | grep x.x.x.x
Really display 1000 connections? (y/n) y
Its working for the ports i tried few of them -
(tmos)# show sys connection cs-server-port 80
Sys::Connections
.
.
.
Total records returned: 52
(tmos)# show sys connection cs-server-port 443
Sys::Connections
.
.
Total records returned: 537
So, wondering why isn't it working for the VIPs ? Any idea?
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