Re: sysinfo.sharedram not accounted for on i386 ?

Brian Grossman (brian@SoftHome.net)
Mon, 12 Feb 2001 05:53:14 -0700


> On Mon, Feb 12, 2001 at 12:05:03AM -0700, Brian Grossman wrote:
> > On i386, sysinfo.sharedram is not accounted for, leading /proc/meminfo to
> > always report MemShared as 0. Is this the intended behavior?
>
> Yes.

Thanks. Is there a preferred way of getting the equivalent info
as free(1) did under 2.2?

I've written a script to derive it from /proc/[0-9]*/statm, but that seems
like an awkward approach. A related question: is the page size stored in
/proc somewhere?

Is there a discussion of this somewhere? I couldn't find one when I
searched the linux-kernel archives.

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