Review at https://gerrit.osmocom.org/5206
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 --- M src/pcu_vty_functions.cpp 1 file changed, 6 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/06/5206/1 diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp index 811801f..f1dd25c 100644 --- a/src/pcu_vty_functions.cpp +++ b/src/pcu_vty_functions.cpp @@ -119,12 +119,16 @@ 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); } -- To view, visit https://gerrit.osmocom.org/5206 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie79c20f86da6db4565654b0f5856f4fddd83ef96 Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max <msur...@sysmocom.de>