If it's just a one time deal, you could piece this together in a few steps:
- Filter in the GUI's virtual server page for VIPs which are unavailable and save the list of VIP names to a text file on the LTM filesystem as /var/tmp/vip_names
- Run the following command:
grep -A 2 -f /var/tmp/vip_names /config/bigip.conf|egrep "(^virt|pool)"
If you want to get the pool membership list, you could grep for the pool name, save that to a file and then use:
grep -A 2 -f vip_names /config/bigip.conf| grep pool| awk '{print "b "$0" list"}'| bash
I'm sure there are more complete ways to handle this. But I don't think it's worth the time to develop a proper script if you only need to do it once.
Aaron