Re: xosview scaling error on DISK throughput

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

 



I've had a look at the source for xosview and I don't see how it can
possibly be giving sensible values for disk activity.  It tries to get
the disk i/o data by looking in /proc/stat for a line starting with
'page', but this seems to have vanished in the 2.6 kernel.  Presumably
because disk statistics are now in /proc/diskstats.

(And incidentally,

    // Find the line with 'page'
    stats >> buf;
    while (strncmp(buf, "page", 9))

Why 9?)

One for bugzilla, perhaps?

Ron



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux