Solved

Shared memory

Posted on 2006-06-16
3
218 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
3 Comments
 
LVL 22

Accepted Solution

by:
pjedmond earned 40 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS- KeepAlived notify script not working 23 79
Access_log 17 118
Centos 7 User to Start Apache, MariaDB, LDAP 5 38
curl SSL certificate unable to get local issuer certificate 15 63
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now