summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sbin/SummarizeStats13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/sbin/SummarizeStats b/src/sbin/SummarizeStats
deleted file mode 100644
index 5f2d77cba..000000000
--- a/src/sbin/SummarizeStats
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env python
-from ConfigParser import ConfigParser
-from elementtree.ElementTree import XML
-
-if __name__ == '__main__':
- c = ConfigParser()
- c.read(['/etc/bcfg2.conf'])
- statpath = "%s/statistics.xml" % c.get('server', 'metadata')
- statdata = XML(open(statpath).read())
- for child in statdata.findall("Node"):
- print "Node: %s:" % child.get("name")
- for state in child.findall("Statistics"):
- print "\tState: %s %s" % (state.get("state"), state.get("time"))