aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty_interface_cmds.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-12 10:45:52 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-17 06:48:43 +0200
commitbb110f91e8fd5c190f974ef3b9cb9a1118beb592 (patch)
tree1986265f45b53e0fe1dc527f0faddcbbe5bdeefa /openbsc/src/vty_interface_cmds.c
parent3ba36d5b57f5964b9bdc2fd1e5ee7d0d9fd398dd (diff)
[statistics] Keep track of OML/RSL failures of the BTS.
Diffstat (limited to 'openbsc/src/vty_interface_cmds.c')
-rw-r--r--openbsc/src/vty_interface_cmds.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/vty_interface_cmds.c b/openbsc/src/vty_interface_cmds.c
index 8ade51851..671351e1c 100644
--- a/openbsc/src/vty_interface_cmds.c
+++ b/openbsc/src/vty_interface_cmds.c
@@ -240,6 +240,9 @@ void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *net)
counter_get(net->stats.paging.attempted),
counter_get(net->stats.paging.completed),
counter_get(net->stats.paging.expired), VTY_NEWLINE);
+ vty_out(vty, "BTS failures : %lu OML, %lu RSL%s",
+ counter_get(net->stats.bts.oml_fail),
+ counter_get(net->stats.bts.rsl_fail), VTY_NEWLINE);
}
void openbsc_vty_add_cmds()