T tincboy Renowned Member Apr 13, 2010 466 6 83 Apr 12, 2011 #1 Does any one know a way to find out the number of network connections an specified vm has?
J jfroebe Guest Apr 13, 2011 #2 I believe this can only be determined within the VM itself. KVM/QEMU doesn't supply that level of detail that I know of.
I believe this can only be determined within the VM itself. KVM/QEMU doesn't supply that level of detail that I know of.
T tincboy Renowned Member Apr 13, 2010 466 6 83 Apr 14, 2011 #3 jfroebe said: I believe this can only be determined within the VM itself. KVM/QEMU doesn't supply that level of detail that I know of. Click to expand... but I can see the network connectivity per connection via iftop command, All i need is to know number of connections too.
jfroebe said: I believe this can only be determined within the VM itself. KVM/QEMU doesn't supply that level of detail that I know of. Click to expand... but I can see the network connectivity per connection via iftop command, All i need is to know number of connections too.
U udo Distinguished Member Proxmox Subscriber Apr 22, 2009 5,981 204 163 Ahrensburg; Germany Apr 14, 2011 #4 tincboy said: but I can see the network connectivity per connection via iftop command, All i need is to know number of connections too. Click to expand... Hi, i'n feel, that's possible to get an output via command (perhaps openvz-only). There was an thread a long time ago - but i have forgotten this. But you can do something like this for kvm-vms (running) with bridged networks (first with name, second only count): E.G. for vm 114 Code: ifconfig -a | grep tap114 ifconfig -a | grep tap114 | wc -l You can also play with grep on the vm-configs - then you get the output all vms. Udo
tincboy said: but I can see the network connectivity per connection via iftop command, All i need is to know number of connections too. Click to expand... Hi, i'n feel, that's possible to get an output via command (perhaps openvz-only). There was an thread a long time ago - but i have forgotten this. But you can do something like this for kvm-vms (running) with bridged networks (first with name, second only count): E.G. for vm 114 Code: ifconfig -a | grep tap114 ifconfig -a | grep tap114 | wc -l You can also play with grep on the vm-configs - then you get the output all vms. Udo