aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-22 21:47:48 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-22 21:47:48 +0100
commite2b8eceee779176320cd0dbe54a80da42380e318 (patch)
treefbe7471200596e7ea8f7ed540c82512017d5103a
parent8387a49e394f6737644b12e53444bb0bf97b86b5 (diff)
pretty-print statistics in 'show statistics'
-rw-r--r--openbsc/src/vty_interface.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index 2d59beac8..62eee7a80 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -852,33 +852,33 @@ DEFUN(show_stats,
{
struct gsm_network *net = gsmnet;
- vty_out(vty, "Channel Requests: %lu total, %lu no channel%s",
+ 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",
+ 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),
counter_get(net->stats.loc_upd_type.periodic), VTY_NEWLINE);
- vty_out(vty, "IMSI Detach Indications: %lu%s",
+ vty_out(vty, "IMSI Detach Indications : %lu%s",
counter_get(net->stats.loc_upd_type.detach), VTY_NEWLINE);
vty_out(vty, "Location Update Response: %lu accept, %lu reject%s",
counter_get(net->stats.loc_upd_resp.accept),
counter_get(net->stats.loc_upd_resp.reject), VTY_NEWLINE);
- vty_out(vty, "Paging: %lu attempted, %lu complete, %lu expired%s",
+ vty_out(vty, "Paging : %lu attempted, %lu complete, %lu expired%s",
counter_get(net->stats.paging.attempted),
counter_get(net->stats.paging.completed),
counter_get(net->stats.paging.expired), VTY_NEWLINE);
- vty_out(vty, "Handover: %lu attempted, %lu no_channel, %lu timeout, "
+ vty_out(vty, "Handover : %lu attempted, %lu no_channel, %lu timeout, "
"%lu completed, %lu failed%s",
counter_get(net->stats.handover.attempted),
counter_get(net->stats.handover.no_channel),
counter_get(net->stats.handover.timeout),
counter_get(net->stats.handover.completed),
counter_get(net->stats.handover.failed), VTY_NEWLINE);
- vty_out(vty, "SMS MO: %lu submitted, %lu no receiver%s",
+ vty_out(vty, "SMS MO : %lu submitted, %lu no receiver%s",
counter_get(net->stats.sms.submitted),
counter_get(net->stats.sms.no_receiver), VTY_NEWLINE);
- vty_out(vty, "SMS MT: %lu delivered, %lu no memory, %lu other error%s",
+ vty_out(vty, "SMS MT : %lu delivered, %lu no memory, %lu other error%s",
counter_get(net->stats.sms.delivered),
counter_get(net->stats.sms.rp_err_mem),
counter_get(net->stats.sms.rp_err_other), VTY_NEWLINE);