lkml.org 
[lkml]   [2000]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: No shared memory??
Date
Yeah I just read that. Thanks for the info. Knew nothing about it being
kicked out there. I usually only read looking for package locations of
needed software to run the kernels. Now it looks like I should be reading
more. Thanks for the blow to the head to get me thinking right again. :)

BTW, I have that mounted now like the docs say but I still do not get any
shared info. I've gotten a couple of other emails about it, one of which
states that it ate up too much CPU time.

What I'm wondering is, is it possible to get that info some other way? I
realize walking the process tree is a pain in the ass and expensive CPU and
time wise. Also, I'm not sure if that information would include each
process's private memory space.

The reason I'm asking is that taking the overall memory used, subtracting
the cached and buffered memory may not always leave the right amount of
shared memory.

(If I show 26MB used total, 21MB which is cached and 1MB that's buffered is
it a FACT that the remaining 4MB unaccounted for is actually and completely
shared memory?)

Any other information on this would be appreciated.

TO THE KERNEL DEVELOPERS
=========================
BTW, I love the devfs stuff. REALLY makes s big difference. I'm developing
my own flavor of linux and it's quickly being modified to use ONLY devfs
entries.


>
> On Sun, 10 Dec 2000 12:11:14 David D.W. Downey wrote:
> >
> > OK, got a tiny little bug here.
> >
> > When running top, procinfo, or free I get 0 for Shared memory. Obviously
> > this is incorrect. What has changed from the 2.2.x and the 2.4.x that
> > would cause these apps to misreport this information.
> >
>
> Have you mounted /dev/shm (shared memory) filesystem ?
> Take a look at kernel documentation under linux/Documentation/Changes.
>
> --
> Juan Antonio Magallon Lacarta #> cd /pub
> mailto:jamagallon@able.es #> more beer
>
> Linux werewolf 2.2.18-pre25-vm #4 SMP Fri Dec 8 01:59:48 CET 2000 i686
>
> -
> 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/
>

-
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.032 / U:2.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site