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