Greetings. I want to obtain the limit-at variable of all the queues that correspond to a parent and add all its values in the same variable, how can I do this? I run the following commands:
:foreach b in=[/queue simple find parent=example-parent] d={
:global test [/queue simple get $b limit-at]; :put $test
}
but instead of giving me the total value they are printed individually line by line, for example:
1M / 5M
1M / 2M
2M / 1M
How can I do so that when consulting the variable for example $ result it gives me the total sum? In this case: put $result = 3M/8M