[srslte-users] How to output the metrics(trace info) on enb intofiles

Andrea Valori avalori at gmail.com
Tue Mar 23 21:19:38 UTC 2021


Jane,

re-adding the list to leave traces of the discussion...

The file can be parsed with some coding. In a few cases I noticed that
adjacent numbers end up merged (no space in between) and therefore the
parsing is not straightforward. These cases are fairly rare and therefore I
think can be acceptable to just discard them to make life easier.
One, more crucial issue I see is that (as confirmed by Andre Puschmann) the
rnti can't be related to the UEs since they are assigned by the eNB without
knowledge of the IMSI... I tried to see if there is any way to extract this
info from the output of the epc but could not figure it out...

On Tue, 23 Mar 2021 at 17:33, janezhang76201 <janezhang76201 at gmail.com>
wrote:

> Thank you so much!
> Yes it’s a way to output metrics to a file. But if it could output the
> metrics to a csv file , it is convenient to do further analysis based on
> the number like SNR, brate. Do you have any idea ? I mean I need to
> calculate the average SNR(for analysis on the signal strength), brate (to
> analysis on the throughput)
> Anyway your method is good to me. Thanks again.
> Have a nice day!  :)
>
> Jane
>
>
> ------------------ Original ------------------
> *From:* Andrea Valori <avalori at gmail.com>
> *Date:* Tue,Mar 23,2021 11:11 AM
> *To:* Jane Zhang <janezhang76201 at gmail.com>
> *Subject:* Re: [srslte-users] How to output the metrics(trace info) on
> enb intofiles
>
> Hi, you can start the enb with: sudo srsenb > nameoffile.txt
> This will save the output to the file "nameoffile.txt"
> Note that you will still to type "t" to activate the trace (even if you
> will not see the question and/or answers on the screen since are sent to
> the file).
>
> I hope this helps.
>
> On Tue, 23 Mar 2021 at 16:57, Jane Zhang <janezhang76201 at gmail.com> wrote:
>
>> Dear srsLTE team
>> I run srsenb. Then press "t" the metrics is printed on the terminal of
>> enb.
>> I have tried to modify enb.conf. Set metrics interval and metrics file
>> name and directory (directory +fine name is: /tmp/metrics.csv). But
>> /tmp/metrcs.csv has no information except for #eof.
>>
>>  Is there any way to output the metrics into files?  whats wrong with my
>> method above?
>>
>> Any help will be appreciated.
>>
>>
>> Jane
>> _______________________________________________
>> srslte-users mailing list
>> srslte-users at lists.softwareradiosystems.com
>> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20210323/1733b99e/attachment.htm>


More information about the srsran-users mailing list