projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
879199c
)
Client script for statistics.
author
P. Christeas
<p_christ@hol.gr>
Wed, 28 Oct 2009 00:31:03 +0000
(
02:31
+0200)
committer
P. Christeas
<p_christ@hol.gr>
Wed, 28 Oct 2009 00:31:03 +0000
(
02:31
+0200)
bzr revid: p_christ@hol.gr-
20091028003103
-1mxviwpnp52j22tw
get-srvstats.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/get-srvstats.sh
b/get-srvstats.sh
new file mode 100755
(executable)
index 0000000..
4bb767a
--- /dev/null
+++ b/
get-srvstats.sh
@@ -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