Difference: CMSLoadTestLHCONEScripts (6 vs. 7)

Revision 72011/05/26 - Main.JamesLetts

Line: 1 to 1
 
META TOPICPARENT name="CMSLoadTestLHCONEResults"

Scripts

Line: 13 to 13
 import xml.dom.minidom from xml.dom.minidom import Node
Deleted:
<
<
 def GetTransferResults? (fromsite,tosite,nfiles,starttime,delta=86400):
Changed:
<
<
url="https://cmsweb.cern.ch/phedex/datasvc/xml/debug/TransferHistory?from="+fromsite+"&to="+tosite+"&binwidth=300&starttime="+str(starttime)+"&endtime="+str(int(starttime)+int(delta))
>
>
now=int(time.time()) endtime=int(starttime)+int(delta) if ( endtime > now ) : endtime=now url="https://cmsweb.cern.ch/phedex/datasvc/xml/debug/TransferHistory?from="+fromsite+"&to="+tosite+"&binwidth=300&starttime="+str(starttime)+"&endtime="+str(endtime) print url
  xmldata = urllib2.urlopen(url).read() dom = xml.dom.minidom.parseString(xmldata)
Line: 31 to 35
  sumdone=0 sumfail=0 lastkey=0
Deleted:
<
<
now=int(time.time())
  for key in sorted(done.iterkeys()): sumdone+=int(str(done[key])) sumfail+=int(str(fail[key]))
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback