1#!/bin/sh
2
3PATH=/bin:/usr/bin:/usr/local/bin
4
5DELAY=`echoping -n 3 -h /tests/bidon www.netaktiv.com | \
6        grep Median | \
7        awk '{print int ($3 * 1000)}' `
8echo $DELAY
9echo $DELAY
10
11UPTIME=`wget -O - -q http://www.netaktiv.com/server-status | \
12    grep uptime | \
13    awk -F: '{print $2}' | sed 's/<br>//' `
14
15echo $UPTIME
16echo Web server
17
18