?
Solved

Shared memory

Posted on 2006-06-16
3
Medium Priority
?
227 Views
Last Modified: 2013-12-16
Hello!
How can i shared memory with system? i have aa command in my application and i want to shared memory for this command with system?
Thanks
0
Comment
Question by:Aida2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 22

Accepted Solution

by:
pjedmond earned 160 total points
ID: 16918896
My advice on this, is don't worry about it! Let the operating system take care of it! The memory that you are using will get swapped to disc if the operating system needs more, and the memory that you have asked for is not being actively used.

Sharing memory with the system?.....That has potential for all sorts of problems, unless your programming is 100% perfect......but as you seem to be really keen on this, the easiest way is possibly through 'modules'? Have a look here for a kernel programming:

http://www.tldp.org/LDP/lkmpg/

and choose your kernel version:)
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question