Forum Discussion
Frank_J_104756
Nov 04, 2009Historic F5 Account
comparing variable values
I have 4 counter variables that are set. I've incremented them based on the of times certain strings are seen in an array. I now need to compare these 4 different variables so that I can find out w...
Frank_J_104756
Nov 04, 2009Historic F5 Account
What I got to pass the syntax check and what makes sense to me is
set winner [lindex [lsort -integer { $server1lb $server2lb $server3lb $server4lb }] 1]
i think will use the array I set up w/ and the variable winner to extract the correct value. I'll know tomorrow when we start testing.
Thanks again CB.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
