Unit 4 Lab Assignment 4 - Processor Management

Question # 00850983 Posted By: wildcraft Updated on: 02/19/2024 11:44 PM Due on: 02/20/2024
Subject Computer Science Topic General Computer Science Tutorials:
Question
Dot Image

Unit 4 Lab Assignment 4: Processor Management 

Question 1: Windows Virtual Memory

1. How many cores does your machine have?

2. How many processors does your machine have?

3. What is the frequency of each processor?

4. How much physical memory does your system have?

5. How much of this memory is free?

6. How many context switches has the system performed since bootup? Do not forget to show visual evidence of the main actions you took to answer the questions.

Question 2: Linux Virtual Memory

You may perform the tasks in this question on any Linux system. You may find help in [1].

1. Install and run the utility htop on your Linux OS using the CLI. Answer the following questions: a. How much swap memory do you have? how much of it is being used by your OS?

b. For how long has your system been up?

c. How do you kill a process in htop? Kill a random process and see if it will have an effect on your OS.

2. Start the text editing program of your choice (e.g., gedit)

a. What is the PID of the editing process? [hint: Use the ps utility (module 4-1) and “| grep”]

b. Kill the text editing process. What command did you use?

c. Issue the “pstree” command. What is the first process that your OS started? What happens if you kill that process? Do not forget to show visual evidence of the main actions you took to answer the questions.

Reference: [1] https://linuxtogether.org/htop-command-explanation/

Dot Image
Tutorials for this Question
  1. Tutorial # 00846459 Posted By: wildcraft Posted on: 02/19/2024 11:45 PM
    Puchased By: 2
    Tutorial Preview
    The solution of Unit 4 Lab Assignment 4 - Processor Management...
    Attachments
    Unit_4_Lab_Assignment_4_-_Processor_Management.ZIP (18.96 KB)

Great! We have found the solution of this question!

Whatsapp Lisa