[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] network usage gathering


  • To: Nathan Eisenberg <nathan@xxxxxxxxxxxxxxxx>
  • From: Mike Denning <mikesdenning@xxxxxxxxx>
  • Date: Tue, 23 Jun 2009 14:15:12 -0400
  • Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 24 Jun 2009 05:46:07 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=T99hwHAfKbYOlkKNdeGwNtjXerhI1RGNpcTKC9T7LIJRFDCkNLBRbD3BOwGmm8UOcn C38swZa6RpB4aFORb+24qP2AZtl5oUG/I2tktaHvVTgcSY87b9RDbOe+9vHpbnil4zxb QFyQNeNU2NmSE4aZMR1APc2+ZGDB/0Qd2DK6Y=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Nathan,

That may provide what I'm looking for -- however xm top does not seem to function properly.  all the other xm commands work fine.

[root@grill msd]# /usr/sbin/xm top
Unexpected error: exceptions.OSError

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 1483, in main
    rc = cmd(args)
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 1052, in xm_top
    os.execvp('xentop', ['xentop'])
  File "/usr/lib/python2.4/os.py", line 341, in execvp
    _execvpe(file, args)
  File "/usr/lib/python2.4/os.py", line 379, in _execvpe
    func(fullname, *argrest)
OSError: [Errno 2] No such file or directory


-- Mike


On Tue, Jun 23, 2009 at 1:57 PM, Nathan Eisenberg <nathan@xxxxxxxxxxxxxxxx> wrote:

Mike –

 

Is the data in xm top not useful under the NETTX and NETRX columns?

 

    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

Domain-0 -----r      76640    2.6    4141056   24.7   no limit       n/a     8    4        0        0    0        0        0        0 2149627072

Testapp0 --b---      49090    0.5    2048000   12.2    2048000      12.2     2    1  9514776  5609343    2      241  8377726 13520754 2149627072

testapp1 --b---      76074    0.3    2048000   12.2    2048000      12.2     2    1 21574426  9824853    2      157   653875 16255860 2149627072

testapp2 --b---     219883    4.7    2048000   12.2    2048000      12.2     2    1 37801757 25565941    2       85  3935004 40831484 2149627072

testapp3 --b---        586    0.4     524288    3.1     524288       3.1     1    1    79464   281130    2      143     5350    51614 2149627072

testapp4 --b---        545    0.7     524288    3.1     524288       3.1     1    1    62130   297314    2      789     3326    51252 2149627072

testapp5 --b---        474    0.1     524288    3.1     524288       3.1     1    1    61569   282954    2     1032     3365    51627 2149627072

testapp6 --b---        474    0.1     524288    3.1     524288       3.1     1    1    59681   255027    2     1655     3219    47924 2149627072

testapp7 --b---        475    0.1     524288    3.1     524288       3.1     1    1    59741   254684    2     1446     3209    47289 2149627072

testapp8 --b---        473    0.1     524288    3.1     524288       3.1     1    1    59287   252783    2      501     3258    48469 2149627072

Testapp9 --b---      37348    0.2    2048000   12.2    2048000      12.2     2    1  3521401  2448598    2        4   157779  4363920 2149627072

 

Best Regards

Nathan Eisenberg

Sr. Systems Administrator

Atlas Networks, LLC

support@xxxxxxxxxxxxxxxx

http://support.atlasnetworks.us/portal

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Mike Denning
Sent: Tuesday, June 23, 2009 8:06 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] network usage gathering

 

I've run into a problem gathering usage for my xen virtual systems. With my old model I used to gather all network usage via my cisco devices using the the counters for each port. Each system had it's own port on the switch, and I tracked network usage accordingly. Now that I'm using xen for virtual systems, and multiple vm's share the same switch port, i'm not exactly sure what my best option is for tracking usage.

I thought I may be able to setup vlans on the switch, and bind each vm to a different vlan using vconfig... but it seems like there has to be a better solution than that. Has anyone done anything like this? Any insight would be greatly appreciated.

-- Mike


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.