F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

StephanManthey's avatar
Aug 05, 2021
Solved

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...
  • Dario_Garrido's avatar
    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.