Forum Discussion

Nik's avatar
Nik
Icon for Cirrus rankCirrus
Oct 29, 2012
Solved

list pools a node is in via tmsh

before i write a wrapper script for tmsh does anyone know if there's a simple way to find out what pools a single member is in?

 

  • the prompt was getting in the way of the remainder of the commands executing. to combat i did this:

     

    echo y | tmsh list ltm pool|grep -B 20 10.5.72.109 | grep "ltm pool"|awk '{print $3}'

     

    works great now!

22 Replies