After a long time, am able to do scripting, makes me more happy as it is in F5 link controller.....
When hard times comes, I work more hard... so here is the outcome
Print Wide IPs
==========
cat /config/gtm/wideip.conf | grep -A2 vs | grep address | cut -d ':' -f1 | awk '{print $2}'
Print Total Number of Wide IPs
=======================
cat /config/gtm/wideip.conf | grep -A2 vs | grep address | wc -l
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.