Forum Discussion
Aug 05, 2021
List LTM virtual server availability states
The following one-liner lists the availability states of all virtual servers on your BIG-IP LTM device. The recursive show command followed by a grep filters the relevant lines from the virtual ser...
- Sep 06, 2021
Hello Stephan.
It's slighty easier to get this info with Awk.
tmsh -q -c 'cd /; show ltm virtual recursive' | awk '/Ltm::Virtual/ {printf $3" "} /Availability/ {printf $3"\n"}' | column -t
Regards,
Dario.
Sep 06, 2021
Hello Stephan.
It's slighty easier to get this info with Awk.
tmsh -q -c 'cd /; show ltm virtual recursive' | awk '/Ltm::Virtual/ {printf $3" "} /Availability/ {printf $3"\n"}' | column -t
Regards,
Dario.
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