Dear All. I have set up a Xen testbed on a computer.(Dom0 use debian lenny) I would like to know the possible ways to monitor the network traffic of DomU''s from Dom0. # command ''xentop'' display NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR SSID debianlenny --b--- 14 0.0 270204 25.8 278528 26.6 1 0 0 0 1 0 0 0 32 debiansqueeze --b--- 10 0.0 270204 25.8 278528 26.6 1 0 0 0 2 0 0 0 32 Domain-0 -----r 44 0.5 473088 45.2 no limit n/a 2 4 0 0 0 0 0 0 32 the NETTX(k) / NETRX(k) values is not changing.. # Dom0 use (network-script network-bridge) (vif-script vif-bridge) # DomU Config file ------------------------------------- import os, re arch = os.uname()[4] name = "debianlenny" maxmem = 256 memory = 256 vcpus = 1 builder = "hvm" kernel = "/usr/lib/xen-default/boot/hvmloader" boot = "c" pae = 1 acpi = 1 apic = 1 localtime = 0 device_model = ''/usr/lib/xen-default/bin/qemu-dm'' disk = [ "phy:/dev/xenvg/debianlenny-disk,xvda,w" ] vif = [ ''mac=00:16:3e:0b:ec:04, bridge=eth0, script=vif-bridge, vifname=dlenny.1'' ] #vif = [ ''type=ioemu, mac=00:16:3e:0b:ec:04, bridge=eth0'' ] #parallel = "none" serial = "pty" ------------------------------------- You help is much appreciated. Thanks. Regards, hopoo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dmitry Nedospasov
2010-Sep-29 08:28 UTC
Re: [Xen-users] Monitoring Network traffic of DomU
Hi, On Wed, Sep 29, 2010 at 05:22:45PM +0900, 신봉호 wrote:> I have set up a Xen testbed on a computer.(Dom0 use debian lenny) > I would like to know the possible ways to monitor the network traffic of > DomU''s from Dom0.Here''s a Citrix document describing how to setup Snort on XenServer, it should be analagous on Xen though. [1] http://support.citrix.com/article/CTX116204 Regards, D. -- Dmitry Nedospasov <dmitry@nedos.net> -- Twitter: @nedos Web: http://nedos.net -- Github: http://github.com/nedos _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users