So I’m trying to get a simple solution to monitor internet traffic of connected qubes. The best solution so far for me has been iptraf’s “LAN station monitor”. IIUC
it shows the total in and out traffic for each connected VM in concise, accumulated form, with in and out traffic separated, and can be launched via a single click (launcher with command
qvm-run -u root sys-net xterm iptraf-ng and then just select LAN station).
The problem with this is that the identification of VMs is via a “HW address” that looks in format like a MAC address, not an IP, so I don’t actually know which qube is which in this view. So the question is: how can I find out in sys-net which qube is assigned which MAC address?
Or, alternatively, how can I achieve the same result another way (cumulative in/out traffic, not combined, for each VM, with easy-to-use tool running only in sys-net).
I’ve tried all sorts of commands with
ip and reading lots of threads, but nothing.
qvm-prefs shows only the sys-net MAC address in every qube, it seems, as it’s the same in all qubes.
Edit: I seem to have been quite mistaken about assuming that the different list entries are different VMs; they are not. So, the question then is broadened: how to get a simple in/out (separate) listing of current rate and cumulative data transferred by VM, ideally with the correct VM name.