[arm-allstar] LSNODE, TX Time today
Doug Crompton
wa3dsp at gmail.com
Sun Feb 23 10:28:30 EST 2020
Luc,
I am not clear on what you want but the daily total TX time is available
using this in a script -
asterisk -rx "rpt stats NODE" > /tmp/stats
Where NODE is the node number
Then -
echo " TX time today - $(cat /tmp/stats | grep "TX time today" | cut -d ":"
-f 2-4)"
This is cumulative throughout the day and resets at midnight. If you made a
script that grabbed this everyday at 11:59 PM you would have the total TX
time for each day.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Sun, Feb 23, 2020 at 7:00 AM Luc Drolet VE2LUQ <ldrolet at cgocable.ca>
wrote:
> Hello everyone,
>
> in LSNODE, I have compiled the time of use
> and it is for all day, 24 hours
>
> I don't know if we are able to compile this data in an Excel file
> automatically, I joined an example for you, see PDF.
>
> Example: I would like to know in the past week how long our transmissions
> lasted in a total of 24 hours on a specific day.
> I am not able to say if I didn’t take a print screen of that day.
> Right now we only have the present day, we can’t keep a memory of the
> trafic gone on, on the repeater and if I take a print screen at 20:00 for
> example, I can’t have the rest of the day til midnight.
> Would it be possible to accumulate them for example in the "media" file or
> in another place like "/etc/asteriak/local"
> to be able to keep these, given a place and thereafter we would be able to
> make statistics of our repeaters without making a print screen every day.
>
> This way if I want to see which days have more transmissions, I would be
> able to see and compare the statistics.
>
> Thank you,
>
> 73’s
>
> Luc
> VE2LUQ
>
More information about the ARM-allstar
mailing list