Coda Distributed File System
Classes | Namespaces | Variables
gensrvstats.py File Reference

Classes

class  gensrvstats.Hell
 

Namespaces

namespace  gensrvstats
 

Variables

string gensrvstats.LOGDIR = "/var/log/smon2"
 
string gensrvstats.IMGDIR = "/home/httpd/html/smon2"
 
string gensrvstats.IMGURL = "/smon2/"
 
string gensrvstats.RRDTOOL = "/usr/local/rrdtool-1.0.4/bin/rrdtool"
 
list gensrvstats.srvmap
 
 gensrvstats.stderr
 
dictionary gensrvstats.statmap
 
dictionary gensrvstats.timemap
 
 gensrvstats.form = cgi.FieldStorage()
 
 gensrvstats.servers = form["servers"]
 
 gensrvstats.stats = form["stats"]
 
 gensrvstats.period = form["period"]
 
string gensrvstats.LOGSCALE = "--logarithmic "
 
string gensrvstats.LAPP = "_l"
 
 gensrvstats.rrdtool = os.popen("%s - > /dev/null 2>&1" % RRDTOOL, "w")
 
 gensrvstats.srv = server.value
 
string gensrvstats.img = "{}_{}{}.gif".format(srv, stat.value, LAPP)
 
 gensrvstats.desc
 
 gensrvstats.ops
 
tuple gensrvstats.cmd