Documentation |
Documentation -> Manuals -> Manual 1.4 -> Core StatisticsPages for other versions: devel 3.5 3.4 Older versions: 3.3 3.2 3.1 3.0 2.4 2.3 2.2 2.1 1.11 1.10 1.9 1.8 1.7 1.6 1.5 1.4
Table of Content (hide)
Statistics which are exported by the OpenSIPS core. 1. "CORE" Class1.1 rcv_requestsReturns the total number of received requests by OpenSIPS. Example of usage through MI FIFO opensipsctl fifo get_statistics rcv_requests Example of usage from script xlog("Total number of received requests = $stat(rcv_requests) \n"); 1.2 rcv_repliesReturns the total number of received replies by OpenSIPS. Example of usage through MI FIFO opensipsctl fifo get_statistics rcv_replies Example of usage from script xlog("Total number of received replies = $stat(rcv_replies) \n"); 1.3 fwd_requestsReturns the number of stateless forwarded requests by OpenSIPS. Example of usage through MI FIFO opensipsctl fifo get_statistics fwd_requests Example of usage from script xlog("Total number of forwarded requests = $stat(fwd_requests) \n"); 1.4 fwd_repliesReturns the number of stateless forwarded replies by OpenSIPS. Example of usage through MI FIFO opensipsctl fifo get_statistics fwd_replies Example of usage from script xlog("Total number of forwarded replies = $stat(fwd_replies) \n"); 1.5 drop_requestsReturns the number of requests dropped even before entering the script routing logic. Example of usage through MI FIFO opensipsctl fifo get_statistics drop_requests Example of usage from script xlog("Total number of dropped requests = $stat(drop_requests) \n"); 1.6 drop_repliesReturns the number of replies dropped even before entering the script routing logic, or explicitly dropped in the onreply_route. Example of usage through MI FIFO opensipsctl fifo get_statistics drop_replies Example of usage from script xlog("Total number of dropped replies = $stat(drop_replies) \n"); 1.7 err_requestsReturns the number of bogus requests from SIP point of view ( eg. : No VIA header found ) Example of usage through MI FIFO opensipsctl fifo get_statistics err_requests Example of usage from script xlog("Total number of error requests = $stat(err_requests) \n"); 1.8 err_repliesReturns the number of bogus replies from SIP point of view ( eg. : No VIA header found ) Example of usage through MI FIFO opensipsctl fifo get_statistics err_replies Example of usage from script xlog("Total number of error replies = $stat(err_replies) \n"); 1.9 bad_URIs_rcvdReturns the number of URIs that OpenSIPS failed to parse. Example of usage through MI FIFO opensipsctl fifo get_statistics bad_URIs_rcvd Example of usage from script xlog("Total number of bad URIs detected = $stat(bad_URIs_rcvd) \n"); 1.10 unsupported_methodsReturns the number of non-standard methods encountered by OpenSIPS while parsing SIP methods. Example of usage through MI FIFO opensipsctl fifo get_statistics unsupported_methods Example of usage from script xlog("Total number of unsupported methods detected = $stat(unsupported_methods) \n"); 1.11 bad_msg_hdrReturns the number of SIP headers that OpenSIPS failed to parse. Example of usage through MI FIFO opensipsctl fifo get_statistics bad_msg_hdr Example of usage from script xlog("Total number of headers that failed to parse = $stat(bad_msg_hdr) \n"); 2. "SHMEM" ClassStatistics giving information on the shared memory that OpenSIPS is using. 2.1 total_sizeReturns the total size of shared memory available to OpenSIPS processes. Example of usage through MI FIFO opensipsctl fifo get_statistics total_size Example of usage from script xlog("Total size of SHMEM available is $stat(total_size) \n"); 2.2 used_sizeReturns the amount of shared memory requested and used by OpenSIPS processes. Example of usage through MI FIFO opensipsctl fifo get_statistics used_size Example of usage from script xlog("SHMEM in use = $stat(used_size) \n"); 2.3 real_used_sizeReturns the amount of shared memory requested by OpenSIPS processes + malloc overhead Example of usage through MI FIFO opensipsctl fifo get_statistics real_used_size Example of usage from script xlog("Real SHMEM used size is $stat(real_used_size) \n"); 2.4 max_used_sizeReturns the maximum amount of shared memory ever used by OpenSIPS processes. Example of usage through MI FIFO opensipsctl fifo get_statistics max_used_size Example of usage from script xlog("The max SHMEM ever used is $stat(max_used_size) \n"); 2.5 free_sizeReturns the free memory available. Computed as total_size - real_used_size Example of usage through MI FIFO opensipsctl fifo get_statistics free_size Example of usage from script xlog("Free SHMEM available is $stat(free_size) \n"); 2.6 fragmentsReturns the total number of fragments in the shared memory. Example of usage through MI FIFO opensipsctl fifo get_statistics fragments Example of usage from script xlog("The total number of SHMEM fragments is $stat(fragments) \n"); |