On Mon, 15 Dec 2008, Noel J. Bergman wrote:
> OS: Jaunty (2.6.28-2-generic) > dstat: 0.6.8-1 > > Very reproducible.
Right, the problem likely is that /proc/diskstats in newer kernels also provide proper stats for partitions, which it doesn't do on older kernels:
[dag@rhun ~]$ cat /proc/diskstats | grep sda 8 0 sda 196482 22091 3600800 1524365 304150 614172 7355412 45110870 0 1321463 46646670 8 1 sda1 1033 10862 2 4 8 2 sda2 215888 3587367 919426 7355408 8 3 sda3 1199 1411 0 0 8 4 sda4 427 872 0 0
If you look at the plugin you will see what I mean.
-- -- dag wieers, <email address hidden>, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors]
On Mon, 15 Dec 2008, Noel J. Bergman wrote:
> OS: Jaunty (2.6.28-2-generic)
> dstat: 0.6.8-1
>
> Very reproducible.
Right, the problem likely is that /proc/diskstats in newer kernels also
provide proper stats for partitions, which it doesn't do on older kernels:
[dag@rhun ~]$ cat /proc/diskstats | grep sda
8 0 sda 196482 22091 3600800 1524365 304150 614172 7355412 45110870 0 1321463 46646670
8 1 sda1 1033 10862 2 4
8 2 sda2 215888 3587367 919426 7355408
8 3 sda3 1199 1411 0 0
8 4 sda4 427 872 0 0
If you look at the plugin you will see what I mean.
-- dag.wieers. com/ --
-- dag wieers, <email address hidden>, http://
[Any errors in spelling, tact or fact are transmission errors]