On Tue, May 12, 2009 at 05:55, Aleksey Ilyushin
<[email protected]> wrote:
> Hi guys,
>
> Thanks for troubleshooting this issue. Although 'VBoxManage metrics collect'
> was never intended to be used like you do, in the upcoming releases it will
> flush the output. This command is supposed to be used interactively, that's
> why it supports Ctrl-C to terminate collection. For non-interactive use
> there are 'metrics setup' and 'metrics query' commands. The client
> program/script can do 'metrics setup' once, then do sleeping and querying in
> a loop.
>
> Cheers,
> Aleksey
>
> On May 8, 2009, at 10:04 PM, Pablo Sanchez wrote:
>
>> [ Comments below, in line ]
>>
>> On Friday 08 May 2009 at 1:30 pm, Antonio Augusto (Mancha) penned
>> about "Re: [vbox-users] VBoxManage collect, delayed output when piping"
>>
>>> Tried stracing it. Apparently it doesn't flush anything, even when
>>> running without filters (strace VBoxManage metrics collect | grep -i
>>> flush, returns nothing).
>>
>> As it's not flushing, I suspect that's the core issue ... :(
>>
>> Hasta!


I see! Thanks a lot Aleksey.
I was using collect to simplify the script I was writing, for me it
was easier to just pipe its output and process it, than having to do a
loop to use "metrics query".
I might try implementing it in a loop, just for the kicks :)

Thansk again Aleksey and Pablo for helping me out on this one!

Cheers

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to