#!/bin/sh
# ping.cgi

echo "Content-type: text/html"
echo ""
echo "<html><head><title>Check Link: $WWW_host</title></head>"
echo "<body bgcolor="#FFFFCA" text="#000000">"
echo "<h2>PING Results for $WWW_host</h2><p><hr><pre>"

ping -c4 $WWW_host

echo "</pre>"
cat /home/httpd/cgi-bin/html/footer.txt
 

Please send any suggestions, comments or problem reports to our webmaster.
(C) 1998-2001 PR WebMasters