summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-11-12 18:45:16 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-11-12 18:45:16 +0000
commite5083a0e267e92096d2e139de8a974286d6a0cff (patch)
tree6d29330bcd3c7816098dff772a0448fb1d19b866 /src/sbin
parent509033580efba3a7a4d07407d776a0a46663d267 (diff)
downloadbcfg2-e5083a0e267e92096d2e139de8a974286d6a0cff.tar.gz
bcfg2-e5083a0e267e92096d2e139de8a974286d6a0cff.tar.bz2
bcfg2-e5083a0e267e92096d2e139de8a974286d6a0cff.zip
Delete: src/sbin/SummarizeStats
}(Logical change 1.357) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1484 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-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"))