Hi all.
Host and client are both Linux Debian x64.
Client has extensions installed.
vbox version is 5.2.30
On the host:
vboxmanage metrics enable testvm Net/Rate/Tx
vboxmanage metrics setup --period 1 --samples 1 testvm Net/Rate/Tx
vboxmanage metrics query testvm Net/Rate/Tx
The reported values column is always completely blank??
Anyone know why?
Thanks in advance!
VM Metrics... does not work at all ???
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: VM Metrics... does not work at all ???
How could we? You don't provide a log.mwp wrote: Anyone know why?
Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: VM Metrics... does not work at all ???
AFAICS, the VBoxManage metrics setup subcommand does not accept submetrics as parameters, so you have to use Net/Rate with setup. For the other subcommands you can then try out yourself what parameters do work. 8.33. VBoxManage metrics is not very clear about these subtleties; I had to read between the lines a bit to find out.
PS: Although generally requested, a VBox.log file probably won't help in this case. My own experiments were not reflected there.
PS: Although generally requested, a VBox.log file probably won't help in this case. My own experiments were not reflected there.
Re: VM Metrics... does not work at all ???
Because it seems to be a very common problem.mpack wrote: How could we?
There are lots of google matches of people asking the same question, but im yet to see an answer of how anyone resolved it.
Im also not 100% sure im using those commands correctly.
UI?You don't provide a log.
Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
Console only here.
I removed old logs, started the vm, tried the above metric commands, stopped the vm, attached the log.
There doesn't seem to be anything odd in there?
- Attachments
-
- VBox.log
- (111.64 KiB) Downloaded 6 times
Re: VM Metrics... does not work at all ???
That was it, thankyou!fth0 wrote:AFAICS, the VBoxManage metrics setup subcommand does not accept submetrics as parameters, so you have to use Net/Rate with setup. For the other subcommands you can then try out yourself what parameters do work. 8.33. VBoxManage metrics is not very clear about these subtleties; I had to read between the lines a bit to find out.
I wonder why vboxmanage does not report an error if its not correct.
It's a generic admin reply i guessPS: Although generally requested, a VBox.log file probably won't help in this case. My own experiments were not reflected there.
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: VM Metrics... does not work at all ???
Because nobody has implemented it. Patches are welcome.mwp wrote:I wonder why vboxmanage does not report an error if its not correct.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: VM Metrics... does not work at all ???
I will also note that you have a version mismatch in the extension pack. This is not allowed.
And the Guest Additions are a different version as well (5.2.10). This is allowed, but it isn't necessarily a good idea.VirtualBox VM 5.2.30 r130521 linux.amd64 (May 13 2019 13:52:16) release log
...
00:00:00.197002 Oracle VM VirtualBox Extension Pack (Version: 5.1.22 r115126; VRDE Module: VBoxVRDP)