Question: PART 3: Experiment with starting processes in the background, managing those processes, and changing the priority: remove the echo commands from the looper script start

PART 3: Experiment with starting processes in the background, managing those processes, and changing the priority:

  1. remove the echo commands from the looper script
  2. start this script in the background by using the & (example: ./looper & )
  3. use the jobs (note the job ID with the jobs command) and ps
  4. move it to the foreground using the fg command followed by the job number, use CRTL/Z to stop it and return it to the background using the bg command and then kill the process.
  5. TO HAND IN: Take a screen shot of the last 10 commands in your history for PART 3
  6. change the priority level of a process
  7. run your looper2 script in the background and note the NICE and PRI levels using the ps l command
  8. issue a renice +15 PID and notice the results
  9. start a process with nice n 19 with your command (maybe a looper script), notice the results
  10. clean up all of your Zombied and Stopped processes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!