Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.
Collaborate in the cloud with Office, Exchange, SharePoint, and Lync
|
|||||||
Collaborate in the cloud with Office, Exchange, SharePoint, and Lync
How to get image of RAM in Linux & Solaris through C++ Programming
|
|
Thread Tools | Search this Thread |
|
#1
|
|||
|
|||
|
How to get image of RAM in Linux & Solaris through C++ Programming
I wish to get entire contents of RAM in Linux and Solaris through C++ Programming... Is there any file or API for retrieving the contents... Please send me as soon as possible or advice some guidelines
|
|
#2
|
||||
|
||||
|
You can use the /dev/mem and /dev/kmem devices.
|
|
#3
|
|||
|
|||
|
Hi Nodsu,
ThankQ for u'r kind suggestion to access RAM, but i am in the half way i.e., I read some documentations in google regarding /dev/mem that it has some disadvantages( i.e., it works properly in x86 family, it is not compatible.) While accessing the RAM, sometimes executed properly and atlast it is crashed. Is there any other way for accessing RAM or should /dev/mem be considered as final solution... I'm eagerly waiting for u'r reply... please send me asap that our project deadline is reached.
Last edited by nagamohan_p; 09-01-2005 at 09:59 AM.. Reason: Physical Memory replaced with RAM |
|
#4
|
||||
|
||||
|
One of the cornerstones of modern computer is protected memory and there is no easy way to access the whole virtual memory space. There is no other easy access to system memory AFAIK.
I imagine one could hook to some debugging routines in the kernel, but that would even more cumbersome and less portable. Or maybe force the relevant memory pages to be swapped out and then read in the right part of the swap file. |
![]() |
| Similar Topics | ||||
| Topic | Replies | Forum | ||
How to mount an ISO image in Linux
|
9 | Guides and Tutorials | ||
How to mount an ISO image in Linux
|
7 | The Alternative OS | ||
linux image iso
|
11 | The Alternative OS | ||
Combining the 5 solaris files...
|
8 | The Alternative OS | ||
SSH- Solaris 2.8
|
4 | The Alternative OS | ||
| Thread Tools | Search this Thread |
|
|
All times are GMT -4. The time now is 09:40 AM.



How to mount an ISO image in Linux