Tag Info

Hot answers tagged

8

You just need to understand Memory Concept As per your Output Of /proc/meminfo , You just need to Notice below things : Buffers :- A buffer is something that has yet to be "written" to disk. it represent how much portion of RAM is dedicated to cache disk block. "Cached" is similar like "Buffers", only this time it caches pages from file reading Cached ...


5

If you want to look at a particular process named e.g. wing_ide, then ps a | fgrep wing_ide | fgrep -v fgrep gives you a number at the beginning of the line (in my case 29837) use this number as follows: fgrep '[heap]' /proc/29837/maps The output look like: 01d56000-07026000 rw-p 00000000 00:00 0 [heap] If you do this on a ...


2

memmap There is this tutorial titled: Bad Memory HowTo which discusses disabling memory via the kernel using the memmap argument to the kernel. According to the howto you have 2 options when it comes to memmap: Turn off everything after the bad memory - (mem=###M option) Turn off just the memory around the bad memory - (memmap=#M$###M option) With the ...


2

Good answer @RahulPatil. Another point to consider about ps or top is as follows This tool [exmap] is more accurate than ps or top because it takes into account shared libraries in use by multiple applications. For example, if two applications are using the same shared library, which takes up 1MB of memory, ps will show both apps using 1MB of extra ...


2

The environment (name/value pairs) lives towards the top of the stack. Figure 2 and Section 3 of Startup state of a Linux/i386 ELF binary shows about where the environment is. That doc is somewhat out of date, as ELF auxiliary vector also lives on the stack. You can check this with a small C program: #include <stdio.h> int main(int argc, char ...


1

Environment variables are a manifestation of the shell you're using. I would imagine that the environment as a whole is a data structure that is part a component of what makes up a process. I wouldn't expect them to be kept together in any singular place for all processes, rather each process more likely keeps the environment variables together with a given ...



Only top voted, non community-wiki answers of a minimum length are eligible