Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Enabling shared memory?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
raoulduke
n00b
n00b


Joined: 26 Sep 2003
Posts: 58

PostPosted: Thu Jan 15, 2004 11:35 pm    Post subject: Enabling shared memory? Reply with quote

Can someone please explain to me what shared memory in Linux means? When I issue the command 'free', it always says shared = 0. I thought that if I'd open something like three Konsole windows, they would share memory, but they don't. Shared stays at 0.

I did some Googling and found out that it was formerly called SHM and you should mount it by hand. Since I'm running kernel 2.6, I wonder what it's called now, and how I can enable it.

Am I thinking totally wrong by saying that three Konsole-s could share memory? I'm not a real newbie to Linux, but I just can't seem to find out what this shared memory means and how I enable/use it. Will the kernel automatically detect that I start three Konsole-s and arrange the swap pages accordingly?

I've got so many questions and few answers.
Back to top
View user's profile Send private message
k9
Apprentice
Apprentice


Joined: 28 Sep 2003
Posts: 160
Location: Salt Lake City, USA

PostPosted: Fri Jan 16, 2004 12:04 am    Post subject: Reply with quote

To answer part of your question:

man free wrote:
free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel. The shared memory column should be ignored; it is obsolete.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum