Your message dated Mon, 5 Oct 2009 18:38:52 +1100
with message-id <[email protected]>
and subject line Re: Bug#421166: vmstat display error
has caused the Debian Bug report #421166,
regarding vmstat display error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
421166: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421166
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
package: procps
version: 3.2.7-3
severity: minor

When using vmstat, the -S option correctly affects the output. But
when using vmstat -d to examine disk activity, the -S option does not
affect the output, it is always in kilobytes.

-Joseph

$ vmstat -S k
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
0  0      0  46981 316862 1384353    0    0     1     1    7    2  0  0 100  0
$ vmstat -S M
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
0  0      0     44    302   1320    0    0     1     1    7    2  0  0 100  0
$

$ vmstat -d -S k
sda   144042  23171 2674805  207724 539779 936877 8730268 7172148      0    681

$ vmstat -d -S M
sda   144042  23171 2674805  207724 539786 936890 8730368 7172156      0    681

I'm running Etch on AMD64.

$ uname -r
2.6.18-4-amd64


--- End Message ---
--- Begin Message ---
On Thu, Apr 26, 2007 at 02:18:44PM -0700, Joseph Hall wrote:
> When using vmstat, the -S option correctly affects the output. But
> when using vmstat -d to examine disk activity, the -S option does not
> affect the output, it is always in kilobytes.
Hello Joseph,
  For the vmstat -d option the output is never in kilobytes as that
option is giving you things like number of reads and sectors.  This is
why the -S option doesn't apply because there are no kilobytes to
convert.

 - 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 


--- End Message ---

Reply via email to