On Wed, Apr 14, 2010 at 10:09:36AM +0200, Davide Ferrari wrote:
> When I execute vmstat -p /dev/sda5 (for instance) I always get
> Partition not found

Hello Davide,
  vmstat -p uses the information contained in /proc/diskstats. Can you
send me the output of 'grep sda /proc/diskstats' ? Perhaps the format
has changed.

As a reference, this is what I get as the output and the vmstat

/proc/diskstats:
   8       0 sda 256027 72376 26398367 1344012 4876838 6281205 89331364 
245486108 0 9327416 246859372
   8       1 sda1 191 333 3989 912 193 17 1524 3184 0 2280 4096
   8       2 sda2 130 420 4336 800 86 936 8176 496 0 1072 1296
   8       3 sda3 255680 71512 26388946 1342144 4876559 6280252 89321664 
245482428 0 9325624 246853824

vmstat:
sda1          reads   read sectors  writes    requested writes
                 191       3989        193       1524

It's a pretty simple program, basically takes column 4,6,8 and 10 and
prints them, matching on column 3.

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to