xosview scaling error on DISK throughput
Ron Yorston
rmy at tigress.co.uk
Sun May 30 21:04:11 UTC 2004
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
More information about the fedora-list
mailing list