Forum Discussion

Bobow's avatar
Bobow
Icon for Cirrus rankCirrus
Feb 12, 2020
Solved

How to use Grep command to identify the particular VS with availability status only Available

Hi Folks,   I want to grep to identify the particular VS with availability status only "Available"   I have seen link https://devcentral.f5.com/s/question/0D51T00006i7XWm/how-to-use-grep-command-...
  • cjunior's avatar
    Feb 12, 2020

    Hi,

    You could try this:

    tmsh show ltm virtual | grep ": available" -B4 | grep -P "(Ltm::|Availability)"

    Regards.