Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Order of running jobs in trscrontab

 
Code Block
#write-offsitenodes.pl updates:
#/afs/slac.stanford.edu/www/comp/net/mon/offsite.nodes 
#a file of beacons: /afs/slac/g/www/www-iepm/pinger/beacons.txt, this is accessed via https://www-iepm.slac.stanford.edu/pinger/beacons.txt
#XML file for worldwide pingER monitoring sites: /afs/slac.stanford.edu/g/www/www-iepm/pinger/pinger.xml. This is accessed via the URL http://www-iepm.slac.stanford.edu/pinger/pinger.xml
#XML file for the local SLAC pinger2 monitoring: /afs/slac.stanford.edu/package/pinger/pinger2/share/pinger/pinger.xml
lnxcron 00 23 28##############Basic PingER files scripts follow ######################
#Update nodes.cf (Perl dump of Guthrie config) from the NODEDETAIL Guthrie database, add by Cottrell 1/31/07 Though node.pl is called from runall.pl, runall.pl is not called until 5am, so it is updated here first to be sure.It takes about 3 seconds to run
pinger 30 0,6,12,18 * * * /afs/slac/package/pinger/guthrie/write_offsitenodesnode.pl -o > /afs/slac/g/www/www-iepmpackage/pinger/host-warningsnodes.txtcf 2>&1 #takes#Takes ~15about  minutes 7/31/2019
#Normal complete set for getdata.pl
pinger;200 32 1 * * * /afs/slac/package/pinger/getdata.pl > /afs/slac/g/www/www-iepm/pinger/slaconly/getdata.err #Takes ~20 minutes 7/31/2019
#Minimal subset is /afs/slac/package/pinger/getdata_all.pl -h pinger.slac.stanford.edu #Takes < 1 minute for pinger.slac.stanford.edu
lnxcron;120 55 2 * * * /afs/slac/package/pinger/analysis/analyze-all.pl --date 1days #Takes 55 mins 9/21/2011, 70 minutes 5/11/2018
#Analyze just by-node 100Byte pings and avg_rtt30 secs
# Create the offsite.nodes list of nodes to ping from Guthrie NODEDETAILS database, add by Cottrell 1/3/2107 takes ~25 minutes
# The following files are created:
# /afs/slac.stanford.edu/www/comp/net/mon/offsite.nodes #txt file of all node, format: name address #comment
# /afs/slac.stanford.edu/g/www/www-iepm/pinger/beacons.txt #txt file of Beacons
# /afs/slac.stanford.edu/g/www/www-iepm/pinger/pinger.xml #xml file for non SLAC MA
# /afs/slac.stanford.edu/package/pinger/pinger2/share/pinger/pinger.xml  #xml file for SLAC MA
lnxcron 00 23 * * * /afs/slac/package/pinger/analysis/wrap-analyze-hourlywrite_offsitenodes.pl --usemetric --set_metric 0 --size 100 --by by-node --date 2019-08-02 #Takes 15 mins
#Simplified with defaults: /afs/slac/package/pinger/analysis/wrap-analyze-hourly.pl --usemetric 
#    equivalent to --set_metric 4 --size 100 --by by-node --dataset hep --datadir /nfs/slac/g/net/pinger/pingerdata/hep/data
pinger;300 30 4> /afs/slac/g/www/www-iepm/pinger/host-warnings.txt 2>&1 #takes ~15  minutes
#--------------Normal complete set for getdata.pl----------------------
pinger;200 32 1 * * * /afs/slac/package/pinger/analysis/wrap-analyze-dailygetdata.pl --basedir> /nfsafs/slac/g/www/netwww-iepm/pinger --use/metric --dataset hep # Takes ~ 5 hours for whole month on pinger 11/10/2012/slaconly/getdata.err #Takes ~20 minutes 7/31/2019
#Minimal subset is /afs/slac/package/analysis/pinger/wrap-analyze-monthlygetdata_all.pl --set_metric 0 --usemetric #Takes 4 mins for just avg_rtt
lnxcron 13 7h pinger.slac.stanford.edu #Takes < 1 minute for pinger.slac.stanford.edu
lnxcron;120 55 2 * * * /afs/slac/usrpackage/localpinger/bin/bsubanalysis/analyze-all.pl -W-date 200 -o /dev/null -q xxl /afs/slac/package/pinger/analysis/wrap-analyze-monthly.pl --basedir /nfs/slac/g/net/pinger --usemetric --dataset hep --by by-site >/dev/null 2>&1 # Takes 3hrs 10 mins on pinger 11/11/2012.
lnxcron 14 71days #Takes 55 mins 9/21/2011, 70 minutes 5/11/2018
#-----------------analyze-hourly.pl runs first for both 100B & 1000B pings, by-host, by site--------------------------

lnxcron;120 55 2 * * * /usr/local/bin/bsub -W 200 -o /dev/null -q xxl /afs/slac/package/pinger/analysis/wrap-analyze-monthly.pl --basedir /nfs/slac/g/net/pinger --usemetric --dataset hep --size 1000  >/dev/null 2>&1
lnxcron 15 7afs/slac/package/pinger/analysis/analyze-all.pl --date 1days #Takes 25:14 10/20/2011 (55 mins 9/21/2011, 70 minutes 5/11/2018)
#-----------------analyze-daily-------------------------------------------
pinger;300 30 4 * * * /usr/local/bin/bsub -W 200 -o /dev/null -q xxl /afs/slac/package/pinger/analysis/wrap-analyze-monthlydaily.pl --basedir /nfs/slac/g/net/pinger --usemetricuse/metric --dataset hep # Takes ~ 5 hours for whole month on pinger 11/10/2012
#----------------by by-site -analyze-sizemonthly.pl 1000takes about >/dev/null 2>&160 minutes--------------
lnxcron 1213 49 * * * /usr/local/bin/bsub -W 200 -o /dev/null -q xxl /afs/slac/package/pinger/analysis/wrap-analyze-monthly.pl --basedir /nfs/slac/g/net/pinger --usemetric ---dataset hepdataset hep --by by-site > /dev/null #Takes2>&1 about# 55mins 9/19/2011, or 7Takes 3hrs 10 mins on rhel6pinger 11/1311/2011.2012.
#------------------sites-per-country---------------------------------------
pinger 00 09 * * * /afs/slac/package/pinger/sites-per-country.pl #Takes anout 10 minutes, run after analyze monthly

...