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

Re: [Xen-users] extracting DomID from the xentrace log


  • To: "'Prateek Khandelwal'" <lucky.igen@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Inception Hosting" <inbox@xxxxxxxxxxxxxxxxxxxx>
  • Date: Sun, 4 Mar 2012 21:22:53 -0000
  • Delivery-date: Sun, 04 Mar 2012 21:25:02 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=inceptionhosting.com; h=Received:From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:X-Mailer:Thread-Index:Content-Language:X-Source:X-Source-Args:X-Source-Dir; b=rzNwGy6EU+pi/32tbebOAu9G8t4tloCsJLd3i8cNahW/vuSELWDKI2ru2KILps49mvJVQkndXgB07monjvD7kvPxE3bx1ZENCfkV5aKKs35Xh50QTecJLnQkTj/0zpFl;
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: Acz6EhcNndQNJazwTdy3X99PMvyuNQAOpASg

Hi Prateek,

 

Do you mean you want to see the IO R+W for each domU?

 

This information is available through xentop there is also a perl script floating about called xenstat.pl which will give you this.

 

Or in a shell you could do:

 

while [[ 1 ]]; do ((lvdisplay|awk '/LV Name/{n=$3} /Block device/{d=$3; sub(".*:","dm-",d); print d,n;}') && (iostat -m)) | sort | uniq | sort | grep '^dm-' | while read hdd; do key=$(echo "$hdd" | egrep -o 'dm-[0-9]+'); if [[ "$key" == "$key2" ]]; then echo "$(date '+%F %T') - $hdd,$hdd2"; fi; hdd2=$hdd; key2=$(echo "$hdd" | egrep -o 'dm-[0-9]+'); done; sleep 10; done

 

 

From: xen-users-bounces@xxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxx] On Behalf Of Prateek Khandelwal
Sent: 04 March 2012 14:20
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] extracting DomID from the xentrace log

 

Hello,

I want to extract domId(s) for the event like IO_READ / WRITE , (currently I am able to see domIds only for Scheduler Trace)
how can I achieve the same ?

Thanks in advance.
--
Prateek Khandelwal

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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