Forum Discussion
Albert_Lau_3094
Nimbostratus
Feb 06, 2010Change in behaviour of IP::stats in 10.1.0
I found that, in 10.1.0, IP::stats does not work for following commands
[IP::stats bytes in]
[IP::stats pkts in]
[IP::stats bytes out]
[IP::stats pkts out]
...
hoolio
Cirrostratus
Feb 07, 2010Hi,
I think the new IP::stats in/out commands return a TCL list of the packets and bytes. You could open a case with F5 Support asking them to confirm this and any other related changes.
when HTTP_REQUEST {
Log the stats in
log local0. "\[IP::stats in\]: [IP::stats in]"
scan [IP::stats in] {%d %d} packets bytes
log local0. "in: \$packets: $packets, \$bytes: $bytes"
Log the stats out
log local0. "\[IP::stats out\]: [IP::stats in]"
scan [IP::stats out] {%d %d} packets bytes
log local0. "out: \$packets: $packets, \$bytes: $bytes"
log local0. "\[IP::stats age\]: [IP::stats age]"
}
: [IP::stats in]: 3 285
: in: $packets: 3, $bytes: 285
: [IP::stats out]: 3 285
: out: $packets: 1, $bytes: 48
: [IP::stats age]: 31
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects