Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- /usr/sfw/bin/wget --secure-protocol=SSLv3 mail.google.com 2>&1 | awk '/^ /'
- if [ $? -ne 0 ]
- then echo "Server is UP"
- else
- echo "Error: URL "mail.google.com" is not responding!!." >> /var/adm/messages
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement