Re: 2.5.40 (BK of today) vmstat SIGSEGV after reading /proc/stat

Robert Love (rml@tech9.net)
05 Oct 2002 13:59:20 -0400


On Sat, 2002-10-05 at 13:12, Patrick Mau wrote:

> The BK tree of today changed the data returned in /proc/stat.
> A 'vmstat -n 10' immediatly segfaults after reading ...
>
> open("/proc/stat", O_RDONLY) = 6
> read(6, "cpu 404408 506514 8240 154301 1"..., 4095) = 714
> close(6) = 0
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++

The format changed, on purpose. You need vmstat from a newer version of
procps. The newest version (2.0.9) and CVS dumps as-of yesterday are
available at:

http://tech9.net/rml/procps

as both tarballs and RPM packages.

Robert Love

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/