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!
AceDawg_204810
Cirrus
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}'
gdoyle
Dec 10, 2018Cirrostratus
The
gawk
command doesn't seem to work for my (I received the following: Syntax Error: "gawk", grep is currently the only filter that is supported
).
Also, if you have multiple partitions you will have to change your directory into the relevant partition. There may be a way to do a global search for all partitions, but I don't know that off hand.
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