Module: sip-router
Branch: master
Commit: 42888884872511454eece63f757b4d73e14e3794
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4288888…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Dec 20 23:39:07 2010 +0100
kex: doxumented pkg.stats rpc command
---
modules_k/kex/README | 23 +++++++++++++++++++++++
modules_k/kex/doc/kex_admin.xml | 23 ++++++++++++++++++++++-
2 files changed, 45 insertions(+), 1 deletions(-)
diff --git a/modules_k/kex/README b/modules_k/kex/README
index 5f044e1..c04cdb2 100644
--- a/modules_k/kex/README
+++ b/modules_k/kex/README
@@ -48,6 +48,10 @@ Daniel-Constantin Mierla
4.5. version
4.6. which
+ 5. RPC Commands
+
+ 5.1. pkg.stats
+
List of Examples
1.1. setsflag usage
@@ -97,6 +101,10 @@ Chapter 1. Admin Guide
4.5. version
4.6. which
+ 5. RPC Commands
+
+ 5.1. pkg.stats
+
1. Overview
This module collects extensions from Kamailio core.
@@ -423,3 +431,18 @@ if(is_myself("$fu")) {
MI FIFO Command Format:
:which:_reply_fifo_file_
_empty_line_
+
+5. RPC Commands
+
+ 5.1. pkg.stats
+
+5.1. pkg.stats
+
+ Print private memory (pkg) usage statistics per process. It can take an
+ optinal parameter that specifies the pid of process to print statistics
+ for. If pid parameter is not give, it prints statistics for all
+ processes.
+
+ Examples:
+ sercmd pkg.stats
+ sercmd pkg.stats 1234
diff --git a/modules_k/kex/doc/kex_admin.xml b/modules_k/kex/doc/kex_admin.xml
index 41435eb..da61349 100644
--- a/modules_k/kex/doc/kex_admin.xml
+++ b/modules_k/kex/doc/kex_admin.xml
@@ -525,7 +525,28 @@ if(is_myself("$fu")) {
_empty_line_
</programlisting>
</section>
- </section>
+ </section>
+ <section>
+ <title>RPC Commands</title>
+ <section>
+ <title>
+ <function moreinfo="none">pkg.stats</function>
+ </title>
+ <para>
+ Print private memory (pkg) usage statistics per process. It
+ can take an optinal parameter that specifies the pid of process
+ to print statistics for. If pid parameter is not give, it prints
+ statistics for all processes.
+ </para>
+ <para>
+ Examples:
+ </para>
+ <programlisting format="linespecific">
+ sercmd pkg.stats
+ sercmd pkg.stats 1234
+ </programlisting>
+ </section>
+ </section>
</chapter>