[Bug 307961] Re: Disk total stats are double

2017-03-16 Thread James Cowgill
This was fixed in 0.7.0 (lucid I believe?) ** Changed in: dstat (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/307961 Title: Disk total stats

[Bug 307961] Re: Disk total stats are double

2012-03-10 Thread JC Hulce
This bug has been marked as Fix Committed for over a year. If the fix has made it into Ubuntu, please mark this bug as Fix Released. If the fix has been released upstream, but not Ubuntu, create a new bug asking for the new version and tag it with upgrade-software-version. If this bug has not been

Re: [Bug 307961] Re: Disk total stats are double

2009-11-07 Thread dag
On Sat, 7 Nov 2009, Noel J. Bergman wrote: The code was committed upstream, but never made it into even Karmic. See http://svn.rpmforge.net/svn/trunk/tools/dstat/ChangeLog We need to upgrade to version 0.7.0, which came out only a week ago. Beware, 0.7.0 has not been released yet. I was

[Bug 307961] Re: Disk total stats are double

2009-11-07 Thread Noel J. Bergman
@dag, OK. The comments in the change log led me to believe that you had called it a release. If you'll keep me informed or work with me, I can prepare packages. I've already done it for myself based on SVN. How far are you from cutting it as a release? -- Disk total stats are double

Re: [Bug 307961] Re: Disk total stats are double

2009-11-07 Thread dag
On Sat, 7 Nov 2009, Noel J. Bergman wrote: @dag, OK. The comments in the change log led me to believe that you had called it a release. If you'll keep me informed or work with me, I can prepare packages. I've already done it for myself based on SVN. How far are you from cutting it as a

[Bug 307961] Re: Disk total stats are double

2008-12-17 Thread Andres Mujica
As the fix made it's way into upstream i'm marking as commited. Thanks!! ** Changed in: dstat (Ubuntu) Status: New = Fix Committed -- Disk total stats are double https://bugs.launchpad.net/bugs/307961 You received this bug notification because you are a member of Ubuntu Bugs, which is

Re: [Bug 307961] Re: Disk total stats are double

2008-12-15 Thread dag
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: [...@rhun ~]$ cat /proc/diskstats |

[Bug 307961] Re: Disk total stats are double

2008-12-15 Thread Noel J. Bergman
If you look at the plugin you will see what I mean. Yes, I had looked at it. And now I have a patch for you, which I'm attaching. The output before the patch is: $ ./dstat~ --disk -D total,sda,sda8,sda10 -dsk/totaldsk/sda-dsk/sda8---dsk/sda10- read writ: read writ: read writ:

Re: [Bug 307961] Re: Disk total stats are double

2008-12-15 Thread dag
On Mon, 15 Dec 2008, Noel J. Bergman wrote: If you look at the plugin you will see what I mean. Yes, I had looked at it. And now I have a patch for you, which I'm attaching. The patch, itself, just enhances the regex to filter out partitions when computing the total stat. Hi Noel,

[Bug 307961] Re: Disk total stats are double

2008-12-15 Thread Noel J. Bergman
Hi Dag. You're welcome. Glad that I was able to help and give you a start on the fix. With respect to the discover functions, are you seeing partitions under /sys/block/*? I see only devices, e.g., sda, and that is reflected in the output of dstat -f --disk. -- Disk total stats are double

Re: [Bug 307961] Re: Disk total stats are double

2008-12-15 Thread dag
On Mon, 15 Dec 2008, Noel J. Bergman wrote: Hi Dag. You're welcome. Glad that I was able to help and give you a start on the fix. With respect to the discover functions, are you seeing partitions under /sys/block/*? I see only devices, e.g., sda, and that is reflected in the output of

[Bug 307961] Re: Disk total stats are double

2008-12-15 Thread Noel J. Bergman
I wasn't worried. Just wanted to understand. And learned something in the process. :-) I just looked at the code in svn (by the way, viewvc appears to be MIA). Now I get it -- you factored out the regex pattern into a shared property of the class. That makes total sense, and did simplify the

[Bug 307961] Re: Disk total stats are double

2008-12-14 Thread Noel J. Bergman
OS: Jaunty (2.6.28-2-generic) dstat: 0.6.8-1 Very reproducible. -- Disk total stats are double https://bugs.launchpad.net/bugs/307961 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 307961] Re: Disk total stats are double

2008-12-14 Thread Noel J. Bergman
Dag, I can also reproduce this with dstat 0.6.9, which I downloaded from your site: n...@jaunty:~/dstat/dstat-0.6.9$ ./dstat --disk -Dtotal,sda -dsk/totaldsk/sda-- read writ: read writ 1114k 1067k: 557k 533k I'll check it against Hardy and Intrepid when I have time. What do you see if

[Bug 307961] Re: Disk total stats are double

2008-12-14 Thread Noel J. Bergman
Same on Intrepid: n...@noel-intrepid:~/shared/dstat-0.6.9$ uname -r 2.6.27-9-generic n...@noel-intrepid:~/shared/dstat-0.6.9$ ./dstat --disk -Dtotal,sda -dsk/totaldsk/sda-- read writ: read writ 3243k 114k:1622k 57k 0 144k: 072k -- Disk total stats are double

[Bug 307961] Re: Disk total stats are double

2008-12-14 Thread Noel J. Bergman
Ah ... but not on Hardy: n...@noel-hardy:~/shared/dstat-0.6.9$ uname -r 2.6.24-22-generic n...@noel-hardy:~/shared/dstat-0.6.9$ ./dstat --disk -Dtotal,sda -dsk/totaldsk/sda-- read writ: read writ 2189k 107k:2189k 107k 0 112k: 0 112k 0 4096B: 0 4096B So this defect

[Bug 307961] Re: Disk total stats are double

2008-12-14 Thread Noel J. Bergman
And, for completeness, Fedora 10 has the same problem as Intrepid and Jaunty: [n...@noel-fedora10 dstat-0.6.9]$ uname -r 2.6.27.7-134.fc10.x86_64 [n...@noel-fedora10 dstat-0.6.9]$ ./dstat --disk -Dtotal,sda -dsk/totaldsk/sda-- read writ: read writ 1640k 2853k: 820k 1427k 0 416k:

[Bug 307961] Re: Disk total stats are double

2008-12-14 Thread Noel J. Bergman
According to http://www.mjmwired.net/kernel/Documentation/iostats.txt, the information changed after 2.6.24: There are only *four* fields available for partitions on 2.6 machines. In 2.6.25, the full statistic set is again available for partitions and disk and partition statistics are