[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] extracting DomID from the xentrace log
thnx for your reply, ifstat solves the problem of network traffic, still i cant get dick I/O traffic (iostat provides stats for LVs , i need something which can work for disk images (files))
On Mon, Mar 5, 2012 at 8:02 AM, Feisky <feiskyer@xxxxxxxxx> wrote:
You can use iostat to report
IO Read writes and ifstat to report the network usage.
yes , I want to log the IO Read writes , and the network usage too, but the problem that I am facing is that xentop doesnt report any network traffic for the domUs, nor does xenmon report any IO count in its output, (if it helps, my setup is Dom0 : f16 , DomU's : ubuntu 11.10)
On Mon, Mar 5, 2012 at 2:52 AM, Inception Hosting <inbox@xxxxxxxxxxxxxxxxxxxx> wrote:
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
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 --
Prateek Khandelwal
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
-- Feisky
-- Prateek Khandelwal
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|