Forum Discussion
Nik
Oct 29, 2012Cirrus
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?
- Oct 29, 2012
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!
What_Lies_Bene1
Oct 29, 2012Cirrostratus
OK, I've tested further using this to show line numbers and whatever the -B value grep seems smart enough not to duplicate matches;
list ltm pool | grep -B 30 x.x.x.x | grep -n ltm pool
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