Monitoring Windows Services from BIG-IP
Published Dec 28, 2010
Version 1.0Was this article helpful?
IP=`echo ${1} | sed 's/%.*$//'`
At the command line, results look like this:
[root@golgotha:REBOOT REQUIRED] config IP1=10.10.20.5%112
[root@golgotha:REBOOT REQUIRED] config IP2=10.10.20.5%11
[root@golgotha:REBOOT REQUIRED] config IP3=10.10.20.5%1
[root@golgotha:REBOOT REQUIRED] config echo $IP3 | sed 's/%.*$//'
10.10.20.5
[root@golgotha:REBOOT REQUIRED] config echo $IP2 | sed 's/%.*$//'
10.10.20.5
[root@golgotha:REBOOT REQUIRED] config echo $IP1 | sed 's/%.*$//'