if [ $# -eq 0 ]; then
	echo "No input";
	exit 1;
fi
ping  -c1 "`echo "$1" | awk -F @ '{print $2}'`" -w 1 >/dev/null
if [ $? -eq 0 ]; then
	echo "online";
fi
