Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Operating System - Linux / Unix 1. free is a command that displays used and available memory in your system. 2. Read the man page

Operating System - Linux / Unix

1. free is a command that displays used and available memory in your system. 2. Read the man page of the free command. 3. Run the command free -w several times, running other programs in between, and store the results in a le. Take note of the memory used, memory used for buers, memory used for cache, and swap used. Run ram-intensive programs, or enough instances of programs, that there are signicant (noticeable) changes to the available memory, buers, cache, and swap. Do this at least until you can see meaningful changes to swap. Keep track of which programs you started between samples. Choose ve meaningful samples points. Keep them in chronological order. They do not have to be a sequence of 5 runs, but sample i should occur before sample j for all i < j.

4. Draw a graph as follows: X-axis: Time (or sample number); Y-axis: memory use, use (i) Memory Used per unit time, (ii) Memory Buered per unit time, (iii) Memory Cached per unit time, and (iiii) Swap Used per unit time. Note: Indicate for each of the ve samples (Time on X-axis) the programs that you started and are still running when the sample is taken. This means to indicate all programs started between the two selected samples, not just the new instances of programs started between (j 1 and j). Note: you may use the Y-axis on the left and right side for dierence scales (Used/Available ram may be in the millions of bytes while swap may be in the thousands). Be sure to properly label your graph.

5. Explain the behavior of this graph with respect to memory utilization in the presence of running various applications. FILES TO SUBMIT:

1. File labeled file.txt with the raw results of your samples 2. File labeled file1.txt with the ve meaningful points that youve chosen to graph. 3. The graph. You can draw this by hand or with computer software. Make sure that it is legible. Preferably, use a at-bed scanner if hand-drawn. If you use a phone camera app to scan a hand-drawn document, make sure it has a high resolution, does not have any shadows, does not have any glare, and is easy to read. 4. File labeled analysis.txt with your explanation of the behavior of the graph with respect to memory utilization.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

More Books

Students also viewed these Databases questions

Question

8. Praise the trainees for their success in learning the task.

Answered: 1 week ago