What is shared memory and discuss the command used to view shared memory segment information?

Analyze the overall functional structure of a traditional organization (including its business strategy) utilizing the machine metaphor.
August 4, 2017
Determine the regulatory oversight that was in place while the Ponzi scheme was operating, and speculate on the main reasons why they did not discover the scheme.
August 4, 2017
Show all

What is shared memory and discuss the command used to view shared memory segment information?

The week a was instructed to locate and utilize performance analysis tools to determine characteristics of Physical Memory and how it is utilized and managed by your version of Linux.

I was instructed to start my Linux Partition and open the Terminal. “Do not open any other applications at this time. Determine values for each of the following. Provide screenshots of command output.”

This what I recorded:

 

Total Physical Memory: 1023092 kb

Used Memory: 113280 kb

Free memory: 400108 kb

Amount of memory used by buffers in the kernel: 36852 kb

Size of the page cache: 367808 kb

Amount of memory containing “dirty” pages: 12 kb

Amount of memory being used for page tables: 8236 kb

3 Processes using the most memory: PID 1558, PID 907, PID 3135

Process name: PID 1558, PID 907, PID 3135

Amount of memory used: PID 1558 13.3%, PID 907 3.9%, PID 3135  0.3%

Amount of resident memory: PID 1558 135720 kb, PID 907 40088 kb, PID 3135 3564 kb

Amount used for shared memory: PID 1558 43028 kb, PID 907 16148 kb, PID 3135 3040 kb

Shared memory: 17112760316 kb

Number of shared Memory Segments: 4096

Total size of all shared memory segments: 4177919 kb

 

Next I was suppost to open some applications and leave them open. Firefox, and a word processor were left open as I recorded new values.

 

Total Physical Memory: 1023092 kb

Used Memory: 578408 kb

Free memory: 92152 kb

Amount of memory used by buffers in the kernel: 8300 kb

Size of the page cache: 305608 kb

Amount of memory containing “dirty” pages: 48 kb

Amount of memory being used for page tables: 9436 kb

3 Processes using the most memory: PID 1558 and  PID 1716

Process name: PID 1558 and PID 1716

Amount of memory used: PID 1558 13.3% PID 907 5.2% PID 2922 3.1%

Amount of resident memory: PID 1558 136024 kb, PID 907 52880 kb, PID 2922 31348 kb

Amount used for shared memory: PID 1558 41332 kb, PID 907 20016 kb, PID 2922 26048 kb

Shared memory: 17112760316 kb

Number of shared Memory Segments: 4096

Total size of all shared memory segments: 4177919 kb

 

Answer the following questions

Which values changed and why? Which values remained the same and why?

What is the page cache?

What are page tables?

What is resident memory?

 

What is shared memory and discuss the command used to view shared memory segment information?

Leave a Reply

Your email address will not be published. Required fields are marked *