# IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos720 src/bos/usr/sbin/snappd/scripts/IPStatus.pl 1.4 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 2000,2002 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # #!/usr/bin/perl -T # @(#)03 1.4 src/bos/usr/sbin/snappd/scripts/IPStatus.pl, snapp, bos720 5/31/02 07:50:39 #----------------------------------------------------------------- #--------Main Networking Utilities page for Snapp Program--------- #----------------------------------------------------------------- #--------This page is the entry point for the Networking---------- #--------Utilities that may be added at a later Date ---------- #--------As of Now, Only pinging another IP Address or Hostname -- #--------is Supported ---------------------------------- #----------------------------------------------------------------- #-------- Links to Pages: IPPing.pl ---------- #----------------------------------------------------------------- $ENV{'PATH'} = '/bin:/usr/bin'; open(OUTFILE,">/var/snapp/snapp.fres.tmp"); print OUTFILE < Network Status 100 15 30 50 EOXML close(OUTFILE); system("/usr/bin/cp /var/snapp/snapp.fres.tmp /var/snapp/snapp.fres");