Variables
readPickles Namespace Reference

Variables

 parser = OptionParser()
 
 help
 
 action
 
 type
 
 str
 
 dest
 
 default
 
 options
 
 args
 
 base_url
 
 file_list = glob.glob("%s/*.pkl"%options.folder)
 Get files. More...
 
list attributes
 Unpickle. More...
 
 base_html = html_view.base_html.replace("<title>base html</title>","<title>prod-test</title>")
 
string body = ""
 
 header = html_view.masthead("Production testing results","")
 
string toc = ''
 
 footer = html_view.footer()
 
 chain = cPickle.load(open(pkl_file, "rb"))
 
 this_body = html_view.metricsToHTMLTable(chain, metric_links=options.metrics)
 
string bokeh_path = "/Users/mt354/Analysis/web/static/bokeh_static/"
 
 this_html
 
 output_file = open("%smetrics/%s_%s.html"%(options.output,chain.name,tier.short_name), "wb")
 
 js_list = bokeh_view.findJSList(this_html)
 

Variable Documentation

readPickles.action

Definition at line 14 of file readPickles.py.

readPickles.args

Definition at line 19 of file readPickles.py.

list readPickles.attributes
Initial value:
1 = ["memory",
2  "memory_percent",
3  "cpu_percent",
4  "u_cpu_times",
5  "s_cpu_times",
6  "read_bytes",
7  "write_bytes",
8  "rss_memory", # should be redundant w/ memory
9  "vms_memory",
10  #"n_open_files",
11  #"n_connections",
12 ]

Unpickle.

Definition at line 38 of file readPickles.py.

readPickles.base_html = html_view.base_html.replace("<title>base html</title>","<title>prod-test</title>")

Definition at line 51 of file readPickles.py.

readPickles.base_url
Initial value:
1 = options.output.replace("/nusoft/app/web/htdoc/nova/production/",
2  "http://nusoft.fnal.gov/nova/production/")

Definition at line 29 of file readPickles.py.

string readPickles.body = ""
string readPickles.bokeh_path = "/Users/mt354/Analysis/web/static/bokeh_static/"

Definition at line 83 of file readPickles.py.

readPickles.chain = cPickle.load(open(pkl_file, "rb"))

Definition at line 69 of file readPickles.py.

readPickles.default

Definition at line 14 of file readPickles.py.

readPickles.dest

Definition at line 14 of file readPickles.py.

readPickles.file_list = glob.glob("%s/*.pkl"%options.folder)

Get files.

Definition at line 34 of file readPickles.py.

readPickles.footer = html_view.footer()

Definition at line 59 of file readPickles.py.

readPickles.header = html_view.masthead("Production testing results","")

Definition at line 56 of file readPickles.py.

readPickles.help

Definition at line 14 of file readPickles.py.

readPickles.js_list = bokeh_view.findJSList(this_html)

Definition at line 98 of file readPickles.py.

readPickles.options

Definition at line 19 of file readPickles.py.

readPickles.output_file = open("%smetrics/%s_%s.html"%(options.output,chain.name,tier.short_name), "wb")

Definition at line 93 of file readPickles.py.

readPickles.parser = OptionParser()

Definition at line 13 of file readPickles.py.

readPickles.str

Definition at line 14 of file readPickles.py.

readPickles.this_body = html_view.metricsToHTMLTable(chain, metric_links=options.metrics)

Definition at line 73 of file readPickles.py.

readPickles.this_html
Initial value:
1 = bokeh_view.tierToHTML(tier, attributes,
2  title=chain.name.replace("_"," "),
3  bokeh_path=bokeh_path,
4  base_url ="%sembed/"%base_url)

Definition at line 86 of file readPickles.py.

string readPickles.toc = ''

Definition at line 58 of file readPickles.py.

readPickles.type

Definition at line 14 of file readPickles.py.