Bug 485243 - vmstat -p broken
vmstat -p broken
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: procps (Show other bugs)
All Linux
medium Severity medium
: rc
: ---
Assigned To: Daniel Novotny
: Patch
Depends On:
  Show dependency treegraph
Reported: 2009-02-12 10:57 EST by Petr Šplíchal
Modified: 2016-05-31 21:37 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 485246 (view as bug list)
Last Closed: 2009-05-18 16:04:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch backported from RHEL5 (3.12 KB, patch)
2009-02-16 06:43 EST, Daniel Novotny
no flags Details | Diff
the new patch (3.49 KB, patch)
2009-02-18 07:05 EST, Daniel Novotny
no flags Details | Diff

  None (edit)
Description Petr Šplíchal 2009-02-12 10:57:10 EST
Description of problem:
Displaying detailed partition statistics using "vmstat -p <partition>"
does not work on RHEL4. This is due to new /proc/diskstats format.

Version-Release number of selected component (if applicable):

Steps to Reproduce:
# grep sda1 /proc/diskstats
   8    1 sda1 33 629 1328 117 0 0 0 0 0 117 117
# vmstat -p /dev/sda1

Actual results:
Partition was not found

Expected results:
sda1          reads   read sectors  writes    requested writes
                 33       1328        0           0
Comment 2 Daniel Novotny 2009-02-16 06:43:48 EST
Created attachment 332025 [details]
patch backported from RHEL5
Comment 3 Petr Šplíchal 2009-02-17 02:28:24 EST
This bug concerns broken functionality --> moving priority to medium.
Daniel, thanks for backporting the patch. Can you ack the devel flag so that we can move on? Thanks!
Comment 4 Daniel Novotny 2009-02-17 07:02:42 EST
fixed in procps-3.2.3-8.15
Comment 7 Daniel Novotny 2009-02-18 07:04:15 EST
the printf() output format was not adjusted to new variable size of "requested writes" - this affects only big-endian machines

fixed in procps-3.2.3-8.16
Comment 8 Daniel Novotny 2009-02-18 07:05:22 EST
Created attachment 332365 [details]
the new patch
Comment 11 errata-xmlrpc 2009-05-18 16:04:24 EDT
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.


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