[sr-dev] git:master:40273d15: kex: documentation for rpc stats.fetch

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 21 16:37:26 CEST 2017


Module: kamailio
Branch: master
Commit: 40273d15a4bf574da1b31d9a5ec4be7c4b6eb879
URL: https://github.com/kamailio/kamailio/commit/40273d15a4bf574da1b31d9a5ec4be7c4b6eb879

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-09-21T16:36:59+02:00

kex: documentation for rpc stats.fetch

---

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

---

Diff:  https://github.com/kamailio/kamailio/commit/40273d15a4bf574da1b31d9a5ec4be7c4b6eb879.diff
Patch: https://github.com/kamailio/kamailio/commit/40273d15a4bf574da1b31d9a5ec4be7c4b6eb879.patch

---

diff --git a/src/modules/kex/doc/kex_admin.xml b/src/modules/kex/doc/kex_admin.xml
index 7eabc02160..902261e146 100644
--- a/src/modules/kex/doc/kex_admin.xml
+++ b/src/modules/kex/doc/kex_admin.xml
@@ -748,6 +748,26 @@ resetdebug();
 		&kamcmd; stats.get_statistics shmem: fwd_requests fwd_replies
 		</programlisting>
     </section>
+	<section id="kex.r.stats.fetch">
+		<title>
+		<function moreinfo="none">stats.fetch</function>
+		</title>
+		<para>Print the list of available internal statistics.</para>
+		<para>Parameters: <emphasis>statsid</emphasis> - which statistics to
+			be printed. If set to 'all' then all statistics are printed; if
+			set to 'statsgroup:' then all statistics in the group are printed;
+			if set to 'statsname' then the statistics identified by the name
+			is printed (can be also 'statsgroup.stastname' or
+			'statsgroup:statsname').</para>
+		<para>Examples:</para>
+        <programlisting  format="linespecific">
+		&kamcmd; stats.fetch all
+		&kamcmd; stats.fetch core:
+		&kamcmd; stats.fetch unsupported_methods
+		&kamcmd; stats.fetch shmem.free_size
+		&kamcmd; stats.fetch shmem: fwd_requests fwd_replies
+		</programlisting>
+    </section>
 	<section id="kex.r.stats.reset_statistics">
 		<title>
 		<function moreinfo="none">stats.reset_statistics</function>




More information about the sr-dev mailing list