From b1d8847cfacf2a6a214cf5e5b90e961046787f34 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 28 Mar 2014 13:50:26 -0300 Subject: Adding ping response into whereis action --- share/hydra/whereis | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'share') diff --git a/share/hydra/whereis b/share/hydra/whereis index ec34e34..c5af517 100755 --- a/share/hydra/whereis +++ b/share/hydra/whereis @@ -90,3 +90,10 @@ if which geoiplookup &> /dev/null; then echo "" geoiplookup $LAYER.$DOMAIN fi + +# Service status +echo "" +echo "Ping response" +echo "----------------------------------------------------------------------------------" +echo "" +ping -q -n -c 1 $LAYER.$DOMAIN | tail -n 2 -- cgit v1.2.3