[sr-dev] git:master:68d437a7: kex: docs for rpc command mod.mem_statsx

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 17 10:05:06 CEST 2019


Module: kamailio
Branch: master
Commit: 68d437a745b67516953aa77c31863e8d79a850c6
URL: https://github.com/kamailio/kamailio/commit/68d437a745b67516953aa77c31863e8d79a850c6

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-04-17T10:04:05+02:00

kex: docs for rpc command mod.mem_statsx

---

Modified: src/modules/kex/doc/kex_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/68d437a745b67516953aa77c31863e8d79a850c6.diff
Patch: https://github.com/kamailio/kamailio/commit/68d437a745b67516953aa77c31863e8d79a850c6.patch

---

diff --git a/src/modules/kex/doc/kex_admin.xml b/src/modules/kex/doc/kex_admin.xml
index 9d2a203425..53380b7676 100644
--- a/src/modules/kex/doc/kex_admin.xml
+++ b/src/modules/kex/doc/kex_admin.xml
@@ -847,9 +847,9 @@ resetdebug();
 		</para>
 	</section>
 
-	<section id="kex.r.mod.stats">
+	<section id="kex.r.mod.mem_stats">
 		<title>
-		<function moreinfo="none">mod.stats module_name/all pkg/shm/all</function>
+		<function moreinfo="none">mod.mem_stats</function>
 		</title>
 		<para>
 			Print private(pkg) or shared(shm) memory currently allocated a given module or by all modules.
@@ -923,6 +923,27 @@ Module: kex
 }
 		</programlisting>
     </section>
+	<section id="kex.r.mod.stats">
+		<title>
+		<function moreinfo="none">mod.stats</function>
+		</title>
+		<para>
+			Same as RPC command "mod.mem_stats", this is an alias command to
+			preserve backward compatibility.
+		</para>
+	</section>
+	<section id="kex.r.mod.mem_statsx">
+		<title>
+		<function moreinfo="none">mod.mem_statsx</function>
+		</title>
+		<para>
+			Similar to RPC command "mod.mem_stats", but the output has an
+			extended format, printing info that includes the allocated size
+			and the count of allocated chunks in a combined string value. The
+			parameters are the same like for "mod.mem_stats".
+		</para>
+    </section>
+
     </section>
 </chapter>
 




More information about the sr-dev mailing list