Forum Discussion
Jeremy_Bridges_
Sep 09, 2009Nimbostratus
Thanks for the input. I ended up using grep and awk to parse the bigpipe output:
fieldName="over-ttl-connection-count-${ip}:${port}"
overTtlConnectionCount=`bigpipe profile stats $statProfileName | grep $fieldName | awk '{print $3}'`
However, I now have a different problem. I would like to reset the stats value here to zero. I know I can do this through an iRule using the STATS::set command:
STATS::set "stats-BNSServer-DEV" "over-ttl-connection-count-10.41.53.53:17898" 0
But, I don't know if there is any way to reset this outside of an iRule. Can this be done through bigpipe or any other command-line app? What about iControl?