path: root/src/libbsc/bsc_vty.c
diff options
authorHarald Welte <laforge@gnumonks.org>2017-12-13 23:17:16 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-14 13:06:33 +0100
commitcf9d431e8978c085d0e0992eeb8de817dbeaf9f6 (patch)
treed01cfc2aa42847e04bf1653a61ac91e5d72a8df2 /src/libbsc/bsc_vty.c
parent2ed22c83dfd8fcc944fd05c854ab4d8de7895b30 (diff)
libbsc: paging: more reasonable (and detailed) paging statistics
Counting the number of T3113 expirations (one per subscriber per BTS) vs the number of paging attempts (Bsc global) is a ueseless figure, as you cannot relate each other. We count on the BSC level: * how many PAGING we received from the MSC (total) * how many of those were for cells/LACs we don't serve * how many of those resulted in PAGING RESPONSE We count on the BTS leve: * how many PAGING CMD we sent to the BTS (total) * how many of those we ignored as we were already paging * how many of those resulted in PAGING RESPONSE * how many were expired due to T3113 expiring Change-Id: I410bbcbb2621f95f11238f7a5da01ab438f5fee1
Diffstat (limited to 'src/libbsc/bsc_vty.c')
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libbsc/bsc_vty.c b/src/libbsc/bsc_vty.c
index 42b71650a..950064592 100644
--- a/src/libbsc/bsc_vty.c
+++ b/src/libbsc/bsc_vty.c
@@ -3794,10 +3794,9 @@ DEFUN(cfg_ts_e1_subslot,
void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *net)
- vty_out(vty, "Paging : %"PRIu64" attempted, %"PRIu64" complete, %"PRIu64" expired%s",
+ vty_out(vty, "Paging : %"PRIu64" attempted, %"PRIu64" responded%s",
- net->bsc_ctrs->ctr[BSC_CTR_PAGING_COMPLETED].current,
- net->bsc_ctrs->ctr[BSC_CTR_PAGING_EXPIRED].current,
+ net->bsc_ctrs->ctr[BSC_CTR_PAGING_RESPONDED].current,