From 51a2cf93d03efc54ca7dc7590c65ea147acc5f0e Mon Sep 17 00:00:00 2001 From: "P. Christeas" Date: Wed, 28 Oct 2009 02:31:03 +0200 Subject: [PATCH] Client script for statistics. bzr revid: p_christ@hol.gr-20091028003103-1mxviwpnp52j22tw --- get-srvstats.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 get-srvstats.sh diff --git a/get-srvstats.sh b/get-srvstats.sh new file mode 100755 index 00000000000..4bb767ac18e --- /dev/null +++ b/get-srvstats.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# ADMIN_PASSWD='admin' +method_1() { + cat '-' << EOF + + + get_stats + + + +EOF +} +LEVEL=10 + +if [ -n "$1" ] ; then LEVEL=$1 ; fi + +method_1 $LEVEL | POST -c 'text/xml' http://localhost:8069/xmlrpc/common +#eof