[arm-allstar] node tx time variable
    David McGough 
    k4fxc at inttek.net
       
    Fri Jul 17 00:02:52 EDT 2020
    
    
  
Patrick,
Try:
asterisk -rx 'rpt stats <node>' | awk -F: ' $1 ~ /TX time today/ {printf ("%s Hours, %s Minutes and %s Seconds\n", $2, $3, $4)}'
73, David K4FXC
On Thu, 16 Jul 2020, "Patrick Perdue via ARM-allstar" wrote:
> Hi all:
> 
> I know I've seen this, but I can't figure out how to grab it.
> 
> I want to export the total TX time for the day of a radio-less pseudo 
> node and parse it through a shell script. I tried
> 
> asterisk -rx "rpt showvars <NodeNumber>"
> 
> but it wasn't there. I tried this on a node with a radio connected, and 
> got two more variables than with the one connected to pseudo, 
> RPT_RX_TIMEOUT and RPT_TX_TIMEOUT, but still not what I'm looking for.
> 
> I know I've seen this in a variable dump, or somewhere else when I 
> wasn't looking for it.
> 
> What am I missing?
> 
> Thanks and 73
> 
> de
> 
> KE4DYI
> 
> _______________________________________________
> 
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> 
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
> 
    
    
More information about the ARM-allstar
mailing list