Client script for statistics.
bzr revid: p_christ@hol.gr-20091028003103-1mxviwpnp52j22tw
This commit is contained in:
parent
879199c6b7
commit
51a2cf93d0
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# ADMIN_PASSWD='admin'
|
||||||
|
method_1() {
|
||||||
|
cat '-' << EOF
|
||||||
|
<xml>
|
||||||
|
<methodCall>
|
||||||
|
<methodName>get_stats</methodName>
|
||||||
|
<params>
|
||||||
|
</params>
|
||||||
|
</methodCall>
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
LEVEL=10
|
||||||
|
|
||||||
|
if [ -n "$1" ] ; then LEVEL=$1 ; fi
|
||||||
|
|
||||||
|
method_1 $LEVEL | POST -c 'text/xml' http://localhost:8069/xmlrpc/common
|
||||||
|
#eof
|
Loading…
Reference in New Issue