Forum Discussion
list pools by name
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}'- gdoyleDec 10, 2018
Cirrostratus
The
command doesn't seem to work for my (I received the following:gawk
).Syntax Error: "gawk", grep is currently the only filter that is supportedAlso, 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.
- AceDawg_204810Dec 10, 2018
Cirrus
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}’
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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