aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty_interface_layer3.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-12-24 15:48:09 +0100
committerHarald Welte <laforge@gnumonks.org>2010-12-24 16:07:35 +0100
commit75e2defc7f15b4c8e349af090acfdf31973272bf (patch)
tree9e0c112ca588dbe309fe1e2a54ae072f9ebc4d90 /openbsc/src/vty_interface_layer3.c
parenteafe22ca7290280fca0f8d31d70239fd0b0dbb9d (diff)
BSC VTY: Print some more of the already-generated statistics
Diffstat (limited to 'openbsc/src/vty_interface_layer3.c')
-rw-r--r--openbsc/src/vty_interface_layer3.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/src/vty_interface_layer3.c b/openbsc/src/vty_interface_layer3.c
index fbb93c884..0697c7d98 100644
--- a/openbsc/src/vty_interface_layer3.c
+++ b/openbsc/src/vty_interface_layer3.c
@@ -563,6 +563,9 @@ DEFUN(show_stats,
struct gsm_network *net = gsmnet_from_vty(vty);
openbsc_vty_print_statistics(vty, net);
+ vty_out(vty, "Channel Requests : %lu total, %lu no channel%s",
+ counter_get(net->stats.chreq.total),
+ counter_get(net->stats.chreq.no_channel), VTY_NEWLINE);
vty_out(vty, "Location Update : %lu attach, %lu normal, %lu periodic%s",
counter_get(net->stats.loc_upd_type.attach),
counter_get(net->stats.loc_upd_type.normal),
@@ -586,6 +589,10 @@ DEFUN(show_stats,
counter_get(net->stats.sms.delivered),
counter_get(net->stats.sms.rp_err_mem),
counter_get(net->stats.sms.rp_err_other), VTY_NEWLINE);
+ vty_out(vty, "Calls : %lu dialled, %lu alerted, %lu connected%s",
+ counter_get(net->stats.call.dialled),
+ counter_get(net->stats.call.alerted),
+ counter_get(net->stats.call.connected), VTY_NEWLINE);
return CMD_SUCCESS;
}