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

Re: [virt-tools-list] Virt-top --script problem



On 11/18/2010 10:56 AM, Richard W.M. Jones wrote:
>        snprintf (path, sizeof path,
>  -              "/sys/devices/xen-backend/tap-%d-%d/statistics/%s",
>  +              "/sys/devices/tap-%d-%d/statistics/%s",
>                  domid, device, str);
>        r = read_stat (path);
>        return r;
>  ----------------------------------------------------------------------
Paolo, is there a correct location for these statistics directories?
(It would have to work on RHEL 5 as well as upstream Xen).

You could try /sys/bus/xen-backend/devices/*. Hui, do you have that directory?

Paolo


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