diff options
author | Max <msuraev@sysmocom.de> | 2017-12-06 13:13:34 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-12-06 13:15:32 +0100 |
commit | 39eb95f1307895cbd67d860f15931f66fd384aca (patch) | |
tree | 9222ce0199adb38bf1962cd2dceba07bddd2f6db /src/pcu_vty_functions.cpp | |
parent | cea806e5b9bf7f6c4bdd15520c5914f320fe92f0 (diff) |
vty: print class and TBFs for each MS
It's handy for troubleshooting to get quick overview of per-MS TBF
allocations and MS [EGPRS] classes.
Change-Id: Ie79c20f86da6db4565654b0f5856f4fddd83ef96
Diffstat (limited to 'src/pcu_vty_functions.cpp')
-rw-r--r-- | src/pcu_vty_functions.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp index 811801f2..f1dd25c4 100644 --- a/src/pcu_vty_functions.cpp +++ b/src/pcu_vty_functions.cpp @@ -119,12 +119,16 @@ int pcu_vty_show_ms_all(struct vty *vty, struct gprs_rlcmac_bts *bts_data) llist_for_each(ms_iter, &bts->ms_store().ms_list()) { GprsMs *ms = ms_iter->entry(); - vty_out(vty, "MS TLLI=%08x, TA=%d, CS-UL=%s, CS-DL=%s, LLC=%zd, " - "IMSI=%s%s", + vty_out(vty, "MS TLLI=%08x, TA=%d, CS-UL=%s, CS-DL=%s, LLC=%zd, Cl=%d, E-Cl=%d," + " TBF-UL=%s, TBF-DL=%s, IMSI=%s%s", ms->tlli(), ms->ta(), ms->current_cs_ul().name(), ms->current_cs_dl().name(), ms->llc_queue()->size(), + ms->ms_class(), + ms->egprs_ms_class(), + ms->ul_tbf() ? ms->ul_tbf()->state_name() : "NA", + ms->dl_tbf() ? ms->dl_tbf()->state_name() : "NA", ms->imsi(), VTY_NEWLINE); } |