Page 1 of 1

Need script that will pull information from simple queue

Posted: Thu Feb 06, 2014 9:59 pm
by pkats
I want to get "target-address" with "bytes" for each line in simple queue saved to a file. How do I start.

Re: Need script that will pull information from simple queue

Posted: Thu Feb 06, 2014 11:31 pm
by c0d3rSh3ll
maybe this is a start point for you

ros code

foreach i in=[queue simple find] do={
local ip [queue simple get value-name=target $i]
local byte [queue simple get value-name=bytes $i]
put "$ip has $byte"
}
then you can save to a file.

Re: Need script that will pull information from simple queue

Posted: Sat Jan 06, 2018 9:36 am
by chechito
maybe this is a start point for you

ros code

foreach i in=[queue simple find] do={
local ip [queue simple get value-name=target $i]
local byte [queue simple get value-name=bytes $i]
put "$ip has $byte"
}
then you can save to a file.
thx you very much

your code help me a lot