While running cli commands on F5, you may run into display length issues:
(tmos.ltm)# show pool members | grep "10.10.10.10:"
Display all 158 items? (y/n) y
If you are executing the script on the F5 to obtain data, the "Display all xxx items? (y/n)" could be a problem. We can alter the display threshold using the following command:
(/Common)(tmos)# modify cli preference pager disabled display-threshold ?
Specifies the maximum number of objects that tmsh will display without requiring a user response to the question, "Display all <number> items? (y/n)". You can specify from 0 (zero) through 4,294,967,265 objects. 0 (zero) specifies that tmsh will display any number of objects without the warning.
(/Common)(tmos)# modify cli preference pager disabled display-threshold 0