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
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#
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
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
4 matches
Mail list logo