# IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos720 src/bos/usr/sbin/snappd/scripts/IPPing.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 # @(#)00 1.4 src/bos/usr/sbin/snappd/scripts/IPPing.pl, snapp, bos720 5/31/02 07:50:26 #--------------------------------------------------------------------------- #--------Ping page for Snapp Program ---------------------------- #--------------------------------------------------------------------------- #--------This page retreives the information to ping another IP ------------ #-------Address or Hostname, actual work done in Link ------------ #--------------------------------------------------------------------------- #-------- Links to Pages: IPDoPing.pl, IPStatus.pl ------------ #--------------------------------------------------------------------------- $ENV{'PATH'} = '/bin:/usr/bin'; #----- start page gen open(OUTFILE,">/var/snapp/snapp.fres.tmp"); print OUTFILE < Ping Test EOXML #----- details print OUTFILE <100 12 35 35 10 15 25 40 12 20 65 65 EOXML close(OUTFILE); system("/usr/bin/cp /var/snapp/snapp.fres.tmp /var/snapp/snapp.fres");