Package: procps
Version: 3.2.1-2

[EMAIL PROTECTED]:~# vmstat 2
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
 0  0   1444 298692 113620 1606656    0    0     1     0    1     1 23  2 75 0
 1  0   1444 296332 113620 1606656    0    0     0     0    0     0  9  0 91 0
 1  0   1444 293988 113620 1606656    0    0     0    56    0     0 12  1 87 0

[EMAIL PROTECTED]:~# cat /proc/stat  |grep ctxt && sleep 1 && cat /proc/stat  
|grep ctxt && sleep 1 \
> && cat /proc/stat  |grep ctxt
ctxt 14823183169
ctxt 14823184028
ctxt 14823185267

vmstat is reporting 0 for context switches, however, /proc/stat clearly shows
that there is context switching going on. Same goes for interrupts (not shown
here).

I've tested various releases of procps from procps.sf.net and found that
version 3.2.3 appears to work properly (3.2.2 does not).

This is Debian Stable/Sarge on i386, kernel 2.6.10.

Additional; procps 3.2.1-2 on Debian Stable/Sarge (64bit) on AMD64 appears to
work correctly, though....


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to