Forum Discussion
khansafdarali1_
Oct 11, 2016Nimbostratus
What is the command in tmsh to find out all the pools that are associated to monitor "tcp"?
What is the command in tmsh to find out all the pools that are associated to monitor "tcp"?
- Oct 11, 2016
- (tmos)
Go to Bash shellrun util bash
- (bash)
Print out names of all LTM pools associated with the 'tcp' health-check monitortmsh list ltm pool one-line | grep 'monitor tcp ' | awk '{ print $3 }'
- (tmos)
Hannes_Rapp
Nimbostratus
- (tmos)
Go to Bash shellrun util bash
- (bash)
Print out names of all LTM pools associated with the 'tcp' health-check monitortmsh list ltm pool one-line | grep 'monitor tcp ' | awk '{ print $3 }'
Hannes_Rapp
Oct 11, 2016Nimbostratus
You execute that command in Bash shell, not in TMOS. See command 1 to switch to Bash.
If you don't have sufficient rights for Bash shell, you can't use the awk command to filter the output to just pool names.
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