Bug 706095 - iostat -n - values in output overflows
Summary: iostat -n - values in output overflows
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sysstat
Version: 5.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Ivana Varekova
QA Contact: Branislav Náter
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-19 13:34 UTC by Branislav Náter
Modified: 2011-07-21 10:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 10:42:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed patch (646 bytes, patch)
2011-05-20 04:44 UTC, Ivana Varekova
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1005 0 normal SHIPPED_LIVE Low: sysstat security, bug fix, and enhancement update 2011-07-21 10:39:28 UTC

Description Branislav Náter 2011-05-19 13:34:19 UTC
Description of problem:
iostat -n is used to display statistics for mounted NFS shares. When there are exactly 4 mounts mouted, some values (rops/s in this case) overflows.

Version-Release number of selected component (if applicable):
sysstat-7.0.2-6.el5.x86_64

How reproducible:
always

Steps to Reproduce:
1. mount exactly 4 NFS shares
2. run iostat -n
  
Actual results:
.qa.[root@x86-64-5s-m1 sysstat]# iostat -nkh
Linux 2.6.18-238.9.1.el5xen (x86-64-5s-m1.ss.eng.bos.redhat.com)        05/19/2011

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.25    0.00    0.00    0.00    0.00   99.75

Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
sda               0.00         0.00         0.00          0          0
sda1              0.00         0.00         0.00          0          0
sda2              0.00         0.00         0.00          0          0
sda3              0.00         0.00         0.00          0          0

Device:                   rkB_nor/s    wkB_nor/s    rkB_dir/s    wkB_dir/s    rkB_svr/s    wkB_svr/s     ops/s    rops/s    wops/s
storage.bos.redhat.com:/vol/engineering/devarchive/redhat 
                         3843068.96 18014398509481918.00         0.00         0.00         0.00         0.00      0.00      0.00      0.00
ntap-vader.corp.redhat.com:/vol/engarchive2 
                               0.00         0.00         0.00         0.00         0.00         0.00      0.00      0.00      0.00
ntap-vader.corp.redhat.com:/vol/engarchive 
                               0.00         0.00         0.00         0.00         0.00         0.00      0.00      0.00      0.00
nest.test.redhat.com:/mnt/qa 
                               0.00         0.00         0.00         0.00         0.00         0.00      0.00 18446744069414586368.00 15103552107087759360.00

Expected results:
no overflowed values

Additional info:

Comment 1 Ivana Varekova 2011-05-20 04:44:21 UTC
Created attachment 499993 [details]
proposed patch

Comment 4 errata-xmlrpc 2011-07-21 10:42:33 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1005.html


Note You need to log in before you can comment on or make changes to this bug.