Forum Discussion
mariana_kirova_
Dec 10, 2018Nimbostratus
list pools by name
Hello, how can I list the names of all pools containing let's say "qa" in their name. Thanks!
AceDawg1
Nimbostratus
From the command line, this works as well if you just want the names of the pools:
tmsh list ltm pool | grep "qa" | gawk '{print $3}'
The following will list out all of the pool names on your system:
tmsh list ltm pool | grep "ltm pool" | gawk '{print $3}'
AceDawg1
Dec 10, 2018Nimbostratus
Gawk can be executed if you are not in the tmsh shell. You have to be in the bash shell.
For partition support, use:
tmsh list ltm pool /partition/* | grep “ltm pool” | gawk ‘{print $3}’
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