I have a C++ process which is using shared memory to store and transfer data between its child processes. I want to check the shared memory usage while the parent process is executing just like top utility gives a runtime information of cpu and memory. I am a little sceptical if the memory section in the output of top includes shared memory or not. Does it?
Shared memory v/s physical memory
memory