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!
wlopez
Cirrocumulus
From tmsh:
For pools on the default partition (/Common):
list ltm pool | grep qa
For pools on all other partitions:
list ltm pool /*/* | grep qa
mariana_kirova_
Dec 10, 2018Nimbostratus
tmsh list ltm pool | grep "ltm pool" | gawk '{print $3}'
works great, thanks!
This one however doesn't work well when I am matching something that is part of the pool's settings (for example "user" is being matched by
session user-disabled
) so it will display all my pools:
(tmos) list ltm pool | grep user
Display all 1253 items? (y/n) n
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