Package: procps
Version: 1:3.2.7-11
Severity: normal

When I run the "vmstat" command on a machine running Linux 2.6.26, it
doesn't properly recognize my disk partitions.

Specifically, when I run "vmstat -d" it includes the partitions in the
output, and when I run "vmstat -p" it can't find the partition:

 $ vmstat -d | grep hdc
 hdc    12159   2474  472866   32376   1602    247   74288  476756      0 54
 hdc1   12139   2457  472570   32320   1602    247   74288  476756      0 54

 $ vmstat -p hdc1
 Partition was not found


This seems to be caused by the fact that format of the partition lines
in the /proc/diskstats file has changed (as of Linux 2.6.25, according
to the Documentation/iostats.txt file from 2.6.26).

I found a Red Hat bug that covers this issue (and includes a patch):
  https://bugzilla.redhat.com/show_bug.cgi?id=485243

Thanks.

                                                Nathan

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages procps depends on:
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libncurses5               5.7+20081213-1 shared libraries for terminal hand
ii  lsb-base                  3.2-20         Linux Standard Base 3.2 init scrip

Versions of packages procps recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

procps suggests no packages.

-- no debconf information


----------------------------------------------------------------------------
Nathan Stratton Treadway  -  natha...@ontko.com  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239

Attachment: signature.asc
Description: Digital signature

Reply via email to