Forum Discussion
Any F5 script To check HTTP Compression is in use.
Hi Vitaily
Thanks for the reply!!
But i want to match the pattern as below of tmsh -c "show ltm virtual profiles"
Ltm::Virtual Server: xxxx | Ltm::HTTP Profile: http | Virtual Server Name xxxx | Virtual Server Name xxxx | Ltm::HTTP Profile: xxxx | Ltm::HTTP Compression Profile: xxxx | Ltm::HTTP Profile: xxxx | Ltm::HTTP Compression Profile: xxxx
Here i want to have all the virtual server names using HTTP compression profile.I tried to make one tmsh command as below with grep:-
tmsh -c "show ltm virtual profiles"|grep ^LTM:: -A5|grep -e 'Ltm::HTTP Compression'.
But this didnot worked.Even tried some other options with grep but nothing.
Can you please suggest some possible grep along with tmsh -c "show ltm virtual profiles" to get the desired outcome.
Thanks Karan
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