Hi Paul, a.) fails here too b.) fails here c.) fails here Seems your system is different than mine (smp?).
Regards, uwe > -----Original Message----- > From: Paul Wise [mailto:p...@debian.org] > Sent: Freitag, 25. Februar 2011 10:44 > To: Maier, Uwe > Cc: 614...@bugs.debian.org > Subject: RE: Bug#614978: iotop: All values 0.0 when using -b parameter > > On Fri, 2011-02-25 at 08:04 +0000, Maier, Uwe wrote: > > > During the execution of your request I stumbled upon the following > output: > ... > > I can reproduce that with this: > > terminal 1: $ cat /dev/zero > foo & sleep 10s ; kill %1 ; rm -f foo > terminal 2: $ iotop -b | grep 'cat /dev' | grep -v grep > 12706 be/4 pabs 0.00 B/s 0.00 B/s 0.00 % 0.00 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 596.83 M/s 0.00 % 27.93 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 76.44 M/s 0.00 % 90.68 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 91.47 M/s 0.00 % 91.53 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 94.96 M/s 0.00 % 91.16 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 90.48 M/s 0.00 % 91.51 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 79.63 M/s 0.00 % 91.95 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 91.01 M/s 0.00 % 90.92 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 87.34 M/s 0.00 % 92.27 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 22.77 M/s 0.00 % 20.80 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 0.00 B/s 0.00 % 0.00 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 0.00 B/s 0.00 % 0.00 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 0.00 B/s 0.00 % 0.00 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 0.00 B/s 0.00 % 0.00 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 0.00 B/s 0.00 % 0.00 % cat > /dev/zero > 12706 be/4 pabs 0.00 B/s 0.00 B/s 0.00 % 0.00 % cat > /dev/zero > > > So it's the first shot which fails. > > Since I intended to call "iotop -b -n1 -P" in my usage scenario I > will be hit by that bad first line. > > I can't reproduce it with this: > > cat /dev/zero > foo & sleep 10s ; iotop -b -n1 -P ; kill %1 ; rm -f foo > > > The first screen is always wrong btw. Even without -b (e.g. "iotop - > d60"). > > I can't reproduce it with this: > > cat /dev/zero > foo & sleep 10s ; iotop -d60 ; kill %1 ; rm -f foo > > -- > bye, > pabs > > http://wiki.debian.org/PaulWise