Bug#412549: netmrg: Improve linux26diskaccess.pl to monitor disk traffic in bytes /sec

2007-03-06 Thread Uwe Steinmann
Thanks for the improved script. I made a simple test, but didn't get the expected results. ibook:/usr/share/doc/linux-wlan-ng# cat /sys/block/hda/hda2/stat 285 57000 ibook:/usr/share/doc/linux-wlan-ng# /tmp/linux26diskaccess.pl -r hda2

Bug#412549: netmrg: Improve linux26diskaccess.pl to monitor disk traffic in bytes /sec

2007-03-06 Thread Francois Gouget
On Tue, 6 Mar 2007, Uwe Steinmann wrote: Thanks for the improved script. I made a simple test, but didn't get the expected results. ibook:/usr/share/doc/linux-wlan-ng# cat /sys/block/hda/hda2/stat 285 57000 ibook:/usr/share/doc/linux-wlan-ng#

Bug#412549: netmrg: Improve linux26diskaccess.pl to monitor disk traffic in bytes / sec

2007-03-01 Thread Francois Gouget
The conversion from blocks to bytes in the linux26diskaccess.pl script I sent is wrong because Perl's integers are 32bits so it overflows. Avoiding this problem in Perl is a bit tricky: I don't feel like having the script depend on the BigInt module. So I simply modified it to return the

Bug#412549: netmrg: Improve linux26diskaccess.pl to monitor disk traffic in bytes /sec

2007-02-26 Thread Francois Gouget
Package: netmrg Version: 0.18.2-14 Severity: normal Tags: patch When I looked at linux26diskaccess.pl I was surprised by the results. I would like to monitor my disk traffic in bytes per second rather than requests per second (the two are not correlated because of request merging). So I