Bug 485246

Summary: vmstat -p broken
Product: [Fedora] Fedora Reporter: Petr Šplíchal <psplicha>
Component: procpsAssignee: Daniel Novotny <dnovotny>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: albert, dnovotny, ohudlick
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 485243 Environment:
Last Closed: 2009-02-18 13:13:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Šplíchal 2009-02-12 16:06:23 UTC
Description of problem:
Displaying detailed partition statistics using "vmstat -p <partition>"
does not work on Fedora. This is due to new /proc/diskstats format.

Version-Release number of selected component (if applicable):
procps-3.2.7-21.fc10.i386

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 12:16:03 UTC
already in rawhide, fixing also in F10

Comment 3 Daniel Novotny 2009-02-18 13:13:29 UTC
fixed in procps-3.2.7-23.fc10