Module: kamailio
Branch: master
Commit: 6e02521739992a4e7dde0ebfae71186b8e866624
URL:
https://github.com/kamailio/kamailio/commit/6e02521739992a4e7dde0ebfae71186…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-10-09T14:07:28+02:00
corex: docs for shm.rprint rpc command
---
Modified: src/modules/corex/doc/corex_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/6e02521739992a4e7dde0ebfae71186…
Patch:
https://github.com/kamailio/kamailio/commit/6e02521739992a4e7dde0ebfae71186…
---
diff --git a/src/modules/corex/doc/corex_admin.xml
b/src/modules/corex/doc/corex_admin.xml
index 6b60cbbf445..29aaa8ccbe8 100644
--- a/src/modules/corex/doc/corex_admin.xml
+++ b/src/modules/corex/doc/corex_admin.xml
@@ -1105,6 +1105,26 @@ route[reply] {
<programlisting format="linespecific">
&kamcli; rpc shm.stats
</programlisting>
+ </section>
+ <section id="corex.rpc.shm.rprint">
+ <title>
+ <function moreinfo="none">corex.shm.rprint</function>
+ </title>
+ <para>
+ Shared memory usage status report printed to file upon filter match
+ with the file of allocation.
+ </para>
+ <para>
+ It takes two parameters: the path to file where to write the report;
+ the string to match the allocation file (the match is done as value
+ included in the path fo the allocation file).
+ </para>
+ <para>
+ Example:
+ </para>
+ <programlisting format="linespecific">
+ &kamcli; rpc shm.rprint /tmp/kamailioshm.txt dns_cache.c
+ </programlisting>
</section>
</section>