Hi Paul,
"unreproducible" sounds so familiar ....

During the execution of your request I stumbled upon the following output:
root@tcload16:~# iotop -b | grep tar | grep -v -e start -e grep
10459 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % tar -cvjf <cut off>
10459 be/4 root        5.57 M/s    0.00 B/s  0.00 %  5.70 % tar -cvjf <cut off>
10459 be/4 root        4.76 M/s    0.00 B/s  0.00 % 11.75 % tar -cvjf <cut off>
10459 be/4 root        4.72 M/s    0.00 B/s  0.00 % 12.90 % tar -cvjf <cut off>

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.

The first screen is always wrong btw. Even without -b (e.g. "iotop -d60").

Regards,
uwe


> -----Original Message-----
> From: Paul Wise [mailto:[email protected]]
> Sent: Freitag, 25. Februar 2011 04:11
> To: Maier, Uwe; [email protected]
> Cc: control
> Subject: Re: Bug#614978: iotop: All values 0.0 when using -b parameter
> 
> tags 614978 + unreproducible moreinfo
> thanks
> 
> On Thu, 2011-02-24 at 16:34 +0000, Maier, Uwe wrote:
> 
> > When using the -b parameter which should enable the batch mode every
> > value is reset to 0.0 .
> 
> It works for me, are you sure your system is doing some I/O? Try
> running
> "cat /dev/zero > foo & sleep 20s ; kill %1 ; rm -f foo" in another
> terminal to do 20 seconds worth of I/O and then stop.
> 
> --
> bye,
> pabs
> 
> http://wiki.debian.org/PaulWise

Reply via email to