~openerp/openobject-server/trunk-speedup-need_action-tde

« back to all changes in this revision

Viewing changes to get-srvstats.sh

  • Committer: Harry (Open ERP)
  • Author(s): xrg
  • Date: 2009-11-20 14:31:04 UTC
  • mfrom: (1119.1.208)
  • mto: (1898.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1900.
  • Revision ID: hmo@tinyerp.com-20091120143104-tb6136unkdw7yfy9
[merge] merge from lp:~xrg/openobject-server/optimize-5.0 and removed some confilts

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
# ADMIN_PASSWD='admin'
 
4
method_1() {
 
5
        cat '-' << EOF
 
6
<xml>
 
7
<methodCall>
 
8
        <methodName>get_stats</methodName>
 
9
        <params>
 
10
        </params>
 
11
</methodCall>
 
12
EOF
 
13
}
 
14
LEVEL=10
 
15
 
 
16
if [ -n "$1" ] ; then LEVEL=$1 ; fi
 
17
 
 
18
method_1 $LEVEL | POST -c 'text/xml' http://localhost:8069/xmlrpc/common
 
19
#eof