aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-28 13:50:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-28 13:50:26 -0300
commitb1d8847cfacf2a6a214cf5e5b90e961046787f34 (patch)
treef29dfc930a364f3da8d4293b89edbb2235d185e1
parent04be99ea0ed4e940dcb9b2f2fed8f6346023a169 (diff)
downloadhydra-b1d8847cfacf2a6a214cf5e5b90e961046787f34.tar.gz
hydra-b1d8847cfacf2a6a214cf5e5b90e961046787f34.tar.bz2
Adding ping response into whereis action
-rwxr-xr-xshare/hydra/whereis7
1 files changed, 7 insertions, 0 deletions
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